git.samba.org
/
obnox
/
samba
/
samba-obnox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3d10021
)
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
Andrew Bartlett
<abartlet@samba.org>
Fri, 13 May 2011 16:50:23 +0000
(18:50 +0200)
The issue is that we should reset the debug_num_classes to 0 when we
un-initialise the debug system.
Andrew Bartlett
lib/util/debug.c
patch
|
blob
|
history
diff --git
a/lib/util/debug.c
b/lib/util/debug.c
index b0a78823fcbce5911f45a1b4c370a82cca2c1a67..c1b33de6d1e818018dc236fea02f18890b5a425b 100644
(file)
--- a/
lib/util/debug.c
+++ b/
lib/util/debug.c
@@
-203,7
+203,7
@@
void gfree_debugsyms(void)
TALLOC_FREE(format_bufr);
- debug_num_classes =
DBGC_MAX_FIXED
;
+ debug_num_classes =
0
;
state.initialized = false;
}