svn commit: samba r23037 - in
branches/SAMBA_4_0/source/libcli/util: .
metze at samba.org
metze at samba.org
Mon May 21 13:33:48 GMT 2007
Author: metze
Date: 2007-05-21 13:33:46 +0000 (Mon, 21 May 2007)
New Revision: 23037
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=23037
Log:
actually fix the asn1 memory leak :-)
metze
Modified:
branches/SAMBA_4_0/source/libcli/util/asn1.c
Changeset:
Modified: branches/SAMBA_4_0/source/libcli/util/asn1.c
===================================================================
--- branches/SAMBA_4_0/source/libcli/util/asn1.c 2007-05-21 12:47:18 UTC (rev 23036)
+++ branches/SAMBA_4_0/source/libcli/util/asn1.c 2007-05-21 13:33:46 UTC (rev 23037)
@@ -24,7 +24,7 @@
/* allocate an asn1 structure */
struct asn1_data *asn1_init(TALLOC_CTX *mem_ctx)
{
- struct asn1_data *ret = talloc_zero(NULL, struct asn1_data);
+ struct asn1_data *ret = talloc_zero(mem_ctx, struct asn1_data);
if (ret == NULL) {
DEBUG(0,("asn1_init failed! out of memory\n"));
}
More information about the samba-cvs
mailing list