summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2007-06-21 19:40:51 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:23:31 -0500
commitead4ea509ebd61db055658abdb5ee979cbe786eb (patch)
tree7aa51288c79276c7149b2a22a784e91404de0f02 /source3
parent8be22f89f0f475db7cc57ac195e8e48bf29a749e (diff)
downloadsamba-ead4ea509ebd61db055658abdb5ee979cbe786eb.tar.gz
samba-ead4ea509ebd61db055658abdb5ee979cbe786eb.tar.bz2
samba-ead4ea509ebd61db055658abdb5ee979cbe786eb.zip
r23574: Remove double-null check (I hate people bitching at me
on the lists :-). Jeremy. (This used to be commit f075620d2071aaecb72e93cbda32c4f624f23d86)
Diffstat (limited to 'source3')
-rw-r--r--source3/nsswitch/winbindd_dual.c4
1 files changed, 1 insertions, 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);