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:
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user