svn commit: samba r24716 - in branches/SAMBA_3_0_25/source/nsswitch: .

jra at samba.org jra at samba.org
Mon Aug 27 18:33:09 GMT 2007


Author: jra
Date: 2007-08-27 18:33:08 +0000 (Mon, 27 Aug 2007)
New Revision: 24716

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

Log:
Janitor for Guenther :-).
"Fix obvious error in enum_dom_groups. We were returning NT_STATUS_OK when the realloc failed."
Jeremy.

Modified:
   branches/SAMBA_3_0_25/source/nsswitch/winbindd_rpc.c


Changeset:
Modified: branches/SAMBA_3_0_25/source/nsswitch/winbindd_rpc.c
===================================================================
--- branches/SAMBA_3_0_25/source/nsswitch/winbindd_rpc.c	2007-08-27 18:32:51 UTC (rev 24715)
+++ branches/SAMBA_3_0_25/source/nsswitch/winbindd_rpc.c	2007-08-27 18:33:08 UTC (rev 24716)
@@ -168,8 +168,7 @@
 					       (*num_entries) + count);
 		if (! *info) {
 			talloc_destroy(mem_ctx2);
-			status = NT_STATUS_NO_MEMORY;
-			break;
+			return NT_STATUS_NO_MEMORY;
 		}
 
 		memcpy(&(*info)[*num_entries], info2, count*sizeof(*info2));



More information about the samba-cvs mailing list