From 20512431321388cf293431b942cbbe9263d295c9 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Wed, 23 Jan 2008 14:33:22 +0100 Subject: 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) --- source3/winbindd/winbindd_dual.c | 1 - 1 file changed, 1 deletion(-) 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); } -- cgit