git.samba.org
/
ddiss
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d809158
)
lib/util/ Fix crash bug caused by gfree_debug()
author
Andrew Bartlett
<abartlet@samba.org>
Mon, 9 May 2011 15:43:45 +0000
(17:43 +0200)
committer
Karolin Seeger
<kseeger@samba.org>
Sat, 19 Nov 2011 19:06:45 +0000
(20:06 +0100)
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
patch
|
blob
|
history
diff --git
a/lib/util/debug.c
b/lib/util/debug.c
index 2ff7cb2c588c07e1d994174603f23889be601ed2..108161edf5572779e4b26f4efb51af9636971b49 100644
(file)
--- a/
lib/util/debug.c
+++ b/
lib/util/debug.c
@@
-202,7
+202,7
@@
void gfree_debugsyms(void)
TALLOC_FREE(format_bufr);
- debug_num_classes =
DBGC_MAX_FIXED
;
+ debug_num_classes =
0
;
state.initialized = false;
}