r23574: Remove double-null check (I hate people bitching at me
authorJeremy Allison <jra@samba.org>
Thu, 21 Jun 2007 19:40:51 +0000 (19:40 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:23:31 +0000 (12:23 -0500)
on the lists :-).
Jeremy.

source/nsswitch/winbindd_dual.c

index 7a9bdb6557df6745be43a56a78abe4f557c4173e..4363bf0f935168e7bb621c827a705cc0617d1d84 100644 (file)
@@ -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);