From ead4ea509ebd61db055658abdb5ee979cbe786eb Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Thu, 21 Jun 2007 19:40:51 +0000 Subject: r23574: Remove double-null check (I hate people bitching at me on the lists :-). Jeremy. (This used to be commit f075620d2071aaecb72e93cbda32c4f624f23d86) --- source3/nsswitch/winbindd_dual.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/source3/nsswitch/winbindd_dual.c b/source3/nsswitch/winbindd_dual.c index 7a9bdb6557..4363bf0f93 100644 --- a/source3/nsswitch/winbindd_dual.c +++ b/source3/nsswitch/winbindd_dual.c @@ -194,9 +194,7 @@ static void async_request_fail(struct winbindd_async_request *state) { DLIST_REMOVE(state->child->requests, state); - if (state->reply_timeout_event) { - TALLOC_FREE(state->reply_timeout_event); - } + TALLOC_FREE(state->reply_timeout_event); SMB_ASSERT(state->child_pid != (pid_t)0); -- cgit