svn commit: samba r18587 - in branches/SAMBA_4_0/source/libnet: .

tridge at samba.org tridge at samba.org
Sat Sep 16 17:59:34 GMT 2006


Author: tridge
Date: 2006-09-16 17:59:33 +0000 (Sat, 16 Sep 2006)
New Revision: 18587

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

Log:

fixed a potential memory leak in libnet

Modified:
   branches/SAMBA_4_0/source/libnet/libnet.c


Changeset:
Modified: branches/SAMBA_4_0/source/libnet/libnet.c
===================================================================
--- branches/SAMBA_4_0/source/libnet/libnet.c	2006-09-16 17:57:50 UTC (rev 18586)
+++ branches/SAMBA_4_0/source/libnet/libnet.c	2006-09-16 17:59:33 UTC (rev 18587)
@@ -27,7 +27,7 @@
 	struct libnet_context *ctx;
 
 	/* create brand new libnet context */ 
-	ctx = talloc(NULL, struct libnet_context);
+	ctx = talloc(ev, struct libnet_context);
 	if (!ctx) {
 		return NULL;
 	}



More information about the samba-cvs mailing list