mirror of
https://github.com/samba-team/samba.git
synced 2025-01-04 05:18:06 +03:00
Use SAFE_FREE() instead of plain free() - pointed out by metze
This commit is contained in:
parent
d453b656e5
commit
b49436d020
@ -1441,9 +1441,10 @@ void smb_panic(const char *why)
|
||||
if (backtrace_strings) {
|
||||
for (i = 0; i < backtrace_size; i++)
|
||||
DEBUG(0, (" #%u %s\n", i, backtrace_strings[i]));
|
||||
|
||||
SAFE_FREE(backtrace_strings);
|
||||
}
|
||||
|
||||
free(backtrace_strings);
|
||||
#endif
|
||||
|
||||
dbgflush();
|
||||
|
Loading…
Reference in New Issue
Block a user