summaryrefslogtreecommitdiffstats
path: root/source/winbindd/winbindd_dual.c
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-01-23 14:33:22 +0100
committerMichael Adam <obnox@samba.org>2008-01-23 14:33:22 +0100
commitda131d089db98017632103aa9bbe38c98f7a3fc1 (patch)
tree93c677a80b9122acb334f4dc8fe016e9d6ec477d /source/winbindd/winbindd_dual.c
parent1f49065d44dd7570d5a9928359751bd36f287952 (diff)
downloadsamba-da131d089db98017632103aa9bbe38c98f7a3fc1.tar.gz
samba-da131d089db98017632103aa9bbe38c98f7a3fc1.tar.xz
samba-da131d089db98017632103aa9bbe38c98f7a3fc1.zip
Fix panic: Don't free the logfilename in winbind_child_died().
The child struct is immediately reused, and this results in a panic when child->logfilename == NULL. Michael
Diffstat (limited to 'source/winbindd/winbindd_dual.c')
-rw-r--r--source/winbindd/winbindd_dual.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/source/winbindd/winbindd_dual.c b/source/winbindd/winbindd_dual.c
index 778886d8e28..e21524689bb 100644
--- a/source/winbindd/winbindd_dual.c
+++ b/source/winbindd/winbindd_dual.c
@@ -480,7 +480,6 @@ void winbind_child_died(pid_t pid)
child->event.fd = 0;
child->event.flags = 0;
child->pid = 0;
- SAFE_FREE(child->logfilename);
schedule_async_request(child);
}