summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2007-11-29 16:30:18 -0800
committerJeremy Allison <jra@samba.org>2007-11-29 16:30:18 -0800
commitb7db7c8352c4cab8bfd39c9767536fb9ecb93939 (patch)
treead2c29046a116550e7c4e5588027d84fc7f39f4a
parentd2cf97aeba14a4d336fb57b01f19bd5a08dcb003 (diff)
downloadsamba-b7db7c8352c4cab8bfd39c9767536fb9ecb93939.tar.gz
samba-b7db7c8352c4cab8bfd39c9767536fb9ecb93939.tar.bz2
samba-b7db7c8352c4cab8bfd39c9767536fb9ecb93939.zip
Fix memleak.
Jeremy. (This used to be commit ccacd170472869391bd1e5bc850b1467492b8fa3)
-rw-r--r--source3/lib/fault.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/lib/fault.c b/source3/lib/fault.c
index 52c4ae63e5..b5d290a2c8 100644
--- a/source3/lib/fault.c
+++ b/source3/lib/fault.c
@@ -133,6 +133,7 @@ void dump_core_setup(const char *progname)
chmod(corepath,0700);
SAFE_FREE(corepath);
+ SAFE_FREE(logbase);
#ifdef HAVE_GETRLIMIT
#ifdef RLIMIT_CORE