summaryrefslogtreecommitdiff
path: root/source3/winbindd
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
commit20512431321388cf293431b942cbbe9263d295c9 (patch)
tree710a3328e9013f596861561621f8a244d3f3455e /source3/winbindd
parent3b83f4915885edfe8f01f4f68daad6b909fe473d (diff)
downloadsamba-20512431321388cf293431b942cbbe9263d295c9.tar.gz
samba-20512431321388cf293431b942cbbe9263d295c9.tar.bz2
samba-20512431321388cf293431b942cbbe9263d295c9.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 (This used to be commit da131d089db98017632103aa9bbe38c98f7a3fc1)
Diffstat (limited to 'source3/winbindd')
-rw-r--r--source3/winbindd/winbindd_dual.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/source3/winbindd/winbindd_dual.c b/source3/winbindd/winbindd_dual.c
index 778886d8e2..e21524689b 100644
--- a/source3/winbindd/winbindd_dual.c
+++ b/source3/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);
}