svn commit: samba r23319 - in branches/SAMBA_3_0_26/source/utils: .

tridge at samba.org tridge at samba.org
Mon Jun 4 01:31:05 GMT 2007


Author: tridge
Date: 2007-06-04 01:31:04 +0000 (Mon, 04 Jun 2007)
New Revision: 23319

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

Log:

fixed a memory leak

Modified:
   branches/SAMBA_3_0_26/source/utils/net_sam.c


Changeset:
Modified: branches/SAMBA_3_0_26/source/utils/net_sam.c
===================================================================
--- branches/SAMBA_3_0_26/source/utils/net_sam.c	2007-06-04 01:29:58 UTC (rev 23318)
+++ branches/SAMBA_3_0_26/source/utils/net_sam.c	2007-06-04 01:31:04 UTC (rev 23319)
@@ -958,6 +958,8 @@
 					 sid_string_static(&members[i]));
 			}
 		}
+
+		TALLOC_FREE(members);
 	} else {
 		d_fprintf(stderr, "Can only list local group members so far.\n"
 			  "%s is a %s\n", argv[0], sid_type_lookup(grouptype));



More information about the samba-cvs mailing list