summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Prouty <tprouty@samba.org>2009-02-24 14:07:29 -0800
committerTim Prouty <tprouty@samba.org>2009-02-24 14:07:51 -0800
commit9bb1bea53709dd32b8c3bf6032b38d9f95c8c379 (patch)
tree682875a636eb4b259c52eacd1b0d829b326029b0
parent5ffa03dcd879e59f3e810fbb8833cb9a3e9afcca (diff)
downloadsamba-9bb1bea53709dd32b8c3bf6032b38d9f95c8c379.tar.gz
samba-9bb1bea53709dd32b8c3bf6032b38d9f95c8c379.tar.bz2
samba-9bb1bea53709dd32b8c3bf6032b38d9f95c8c379.zip
s3: Fix a bug that prevent core files from being created
Removed an erroneous free() that was causing the corepath to be NULL during dump_core(). This prevented dump_core() from actually calling abort() to create a core file. The bug was introduced in December by: 07e0094365e8dc360a83eec2e7cf9b1d5d8d6d00
-rw-r--r--source3/lib/fault.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/source3/lib/fault.c b/source3/lib/fault.c
index a1530987f3..8c4a45bbc9 100644
--- a/source3/lib/fault.c
+++ b/source3/lib/fault.c
@@ -157,7 +157,6 @@ void dump_core_setup(const char *progname)
return;
}
- SAFE_FREE(corepath);
SAFE_FREE(logbase);
#ifdef HAVE_GETRLIMIT