From 6b0d6f909999605e5940156fd614f9bb75c24bff Mon Sep 17 00:00:00 2001 From: Tim Prouty Date: Tue, 24 Feb 2009 14:07:29 -0800 Subject: [PATCH] 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: 0994b094569474d47e7b98e39438829e962a27e1 (cherry picked from commit a70bb435d339df52eef56fb0c5788534252d7ab7) --- source/lib/fault.c | 1 - 1 file changed, 1 deletion(-) diff --git a/source/lib/fault.c b/source/lib/fault.c index 1bd7d038c9e..4a949320f06 100644 --- a/source/lib/fault.c +++ b/source/lib/fault.c @@ -157,7 +157,6 @@ void dump_core_setup(const char *progname) return; } - SAFE_FREE(corepath); SAFE_FREE(logbase); #ifdef HAVE_GETRLIMIT -- 2.11.4.GIT