From: Jeremy Allison Date: Thu, 21 Jun 2007 19:40:51 +0000 (+0000) Subject: r23574: Remove double-null check (I hate people bitching at me X-Git-Tag: samba-4.0.0alpha6~801^2~5569 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ead4ea509ebd61db055658abdb5ee979cbe786eb;p=thirdparty%2Fsamba.git r23574: Remove double-null check (I hate people bitching at me on the lists :-). Jeremy. (This used to be commit f075620d2071aaecb72e93cbda32c4f624f23d86) --- diff --git a/source3/nsswitch/winbindd_dual.c b/source3/nsswitch/winbindd_dual.c index 7a9bdb6557d..4363bf0f935 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);