lib/util/ Fix crash bug caused by gfree_debug()
authorAndrew Bartlett <abartlet@samba.org>
Mon, 9 May 2011 15:43:45 +0000 (17:43 +0200)
committerKarolin Seeger <kseeger@samba.org>
Sat, 19 Nov 2011 19:06:45 +0000 (20:06 +0100)
commit3651471288ebd05108c9cd7f1bdbb844829244fb
treee1b8ad58bdf9f702bc1c08532b7a5315c1db491a
parentd8091581f7e55a8147c9ec5e8a30481596093d27
lib/util/ Fix crash bug caused by gfree_debug()

The issue is that we should reset the debug_num_classes to 0 when we
un-initialise the debug system.

Andrew Bartlett
(cherry picked from commit 5db0cd55d4db9cc71f32dc0097e2f014c22967bc)

Fix bug #8623 (Crash when trying to browse samba printers).
lib/util/debug.c