s3: Fix a bug that prevent core files from being created
authorTim Prouty <tprouty@samba.org>
Tue, 24 Feb 2009 22:07:29 +0000 (14:07 -0800)
committerTim Prouty <tprouty@samba.org>
Tue, 24 Feb 2009 22:07:51 +0000 (14:07 -0800)
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

source3/lib/fault.c

index a1530987f3b1ea4c4309d6a347a0a27f4c51a0a0..8c4a45bbc94c454578ef688d018101ec0258809e 100644 (file)
@@ -157,7 +157,6 @@ void dump_core_setup(const char *progname)
                return;
        }
 
-       SAFE_FREE(corepath);
        SAFE_FREE(logbase);
 
 #ifdef HAVE_GETRLIMIT