svn commit: samba r15834 - in branches/SAMBA_4_0/source/libcli/auth: .

tridge at samba.org tridge at samba.org
Tue May 23 06:52:22 GMT 2006


Author: tridge
Date: 2006-05-23 06:52:22 +0000 (Tue, 23 May 2006)
New Revision: 15834

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

Log:

fixed a memory leak in the session code

Modified:
   branches/SAMBA_4_0/source/libcli/auth/session.c


Changeset:
Modified: branches/SAMBA_4_0/source/libcli/auth/session.c
===================================================================
--- branches/SAMBA_4_0/source/libcli/auth/session.c	2006-05-23 06:19:35 UTC (rev 15833)
+++ branches/SAMBA_4_0/source/libcli/auth/session.c	2006-05-23 06:52:22 UTC (rev 15834)
@@ -151,7 +151,7 @@
 		return data_blob(NULL, 0);
 	}
 
-	ret = data_blob(NULL, 8+dlen);
+	ret = data_blob_talloc(mem_ctx, NULL, 8+dlen);
 	if (!ret.data) {
 		data_blob_free(&src);
 		return data_blob(NULL, 0);



More information about the samba-cvs mailing list