git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ec367f3
)
We need to leave the corepath around
author
Volker Lendecke
<vl@samba.org>
Sun, 27 Jan 2008 09:22:42 +0000
(10:22 +0100)
committer
Volker Lendecke
<vl@samba.org>
Sun, 27 Jan 2008 09:24:31 +0000
(10:24 +0100)
In case we need to dump core, in line 191 we dereference corepath to be able to
chdir there.
Jeremy, please check!
Volker
source/lib/fault.c
patch
|
blob
|
history
diff --git
a/source/lib/fault.c
b/source/lib/fault.c
index 33e1401d7aac4d76e13e842c35c24a6f997fbb16..1964955f1b814693cc1b99dd527413af60d59de6 100644
(file)
--- a/
source/lib/fault.c
+++ b/
source/lib/fault.c
@@
-132,7
+132,6
@@
void dump_core_setup(const char *progname)
sys_chown(corepath,getuid(),getgid());
chmod(corepath,0700);
- SAFE_FREE(corepath);
SAFE_FREE(logbase);
#ifdef HAVE_GETRLIMIT