diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2003-03-26 13:49:23 +0000 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2003-03-26 13:49:23 +0000 |
commit | fa0ea6d5619f52dd63a469a2828d984dc439b16f (patch) | |
tree | 03019650bf6908099da2abada2b8622ff09ce0ec /source3/lib/util.c | |
parent | 70cf597a790b6f667800e43f81b105f674e61a20 (diff) | |
download | samba-fa0ea6d5619f52dd63a469a2828d984dc439b16f.tar.gz samba-fa0ea6d5619f52dd63a469a2828d984dc439b16f.tar.bz2 samba-fa0ea6d5619f52dd63a469a2828d984dc439b16f.zip |
Use SAFE_FREE() instead of plain free() - pointed out by metze
(This used to be commit b49436d020f8d88d42428c83ea9a278d3433d134)
Diffstat (limited to 'source3/lib/util.c')
-rw-r--r-- | source3/lib/util.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/lib/util.c b/source3/lib/util.c index 8bc36a4fb4..da98f5a3cf 100644 --- a/source3/lib/util.c +++ b/source3/lib/util.c @@ -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(); |