svn commit: samba r23574 - in branches: SAMBA_3_0/source/nsswitch SAMBA_3_0_25/source/nsswitch SAMBA_3_0_26/source/nsswitch

jra at samba.org jra at samba.org
Thu Jun 21 19:40:52 GMT 2007


Author: jra
Date: 2007-06-21 19:40:51 +0000 (Thu, 21 Jun 2007)
New Revision: 23574

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=23574

Log:
Remove double-null check (I hate people bitching at me
on the lists :-).
Jeremy.

Modified:
   branches/SAMBA_3_0/source/nsswitch/winbindd_dual.c
   branches/SAMBA_3_0_25/source/nsswitch/winbindd_dual.c
   branches/SAMBA_3_0_26/source/nsswitch/winbindd_dual.c


Changeset:
Modified: branches/SAMBA_3_0/source/nsswitch/winbindd_dual.c
===================================================================
--- branches/SAMBA_3_0/source/nsswitch/winbindd_dual.c	2007-06-21 18:44:14 UTC (rev 23573)
+++ branches/SAMBA_3_0/source/nsswitch/winbindd_dual.c	2007-06-21 19:40:51 UTC (rev 23574)
@@ -194,9 +194,7 @@
 {
 	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);
 

Modified: branches/SAMBA_3_0_25/source/nsswitch/winbindd_dual.c
===================================================================
--- branches/SAMBA_3_0_25/source/nsswitch/winbindd_dual.c	2007-06-21 18:44:14 UTC (rev 23573)
+++ branches/SAMBA_3_0_25/source/nsswitch/winbindd_dual.c	2007-06-21 19:40:51 UTC (rev 23574)
@@ -194,9 +194,7 @@
 {
 	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);
 

Modified: branches/SAMBA_3_0_26/source/nsswitch/winbindd_dual.c
===================================================================
--- branches/SAMBA_3_0_26/source/nsswitch/winbindd_dual.c	2007-06-21 18:44:14 UTC (rev 23573)
+++ branches/SAMBA_3_0_26/source/nsswitch/winbindd_dual.c	2007-06-21 19:40:51 UTC (rev 23574)
@@ -194,9 +194,7 @@
 {
 	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);
 



More information about the samba-cvs mailing list