1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-03 04:22:09 +03:00

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
This commit is contained in:
Andrew Bartlett
2011-05-09 17:43:45 +02:00
parent 3d100216b8
commit 5db0cd55d4

View File

@ -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;
}