svn commit: samba r23030 - in branches/SAMBA_4_0/source: auth/gensec auth/kerberos ldap_server libcli/cldap libcli/ldap libcli/util librpc/ndr

Stefan (metze) Metzmacher metze at samba.org
Mon May 21 08:55:37 GMT 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

tridge at samba.org schrieb:
> Author: tridge
> Date: 2007-05-21 06:12:06 +0000 (Mon, 21 May 2007)
> New Revision: 23030
> 
> WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=23030
> 
> Log:
> 
> finally fixed up our asn1 code to use better memory allocation. This
> should allow us to fix some long standing memory leaks.

Hi Tridge,

thanks!

can you change:

+	struct asn1_data *asn1 = asn1_init(mem_ctx);

into:

+	struct asn1_data *asn1;


	asn1 = asn1_init(mem_ctx);
	if (!asn1) error...;

?

metze
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iD8DBQFGUV6Jm70gjA5TCD8RAsdOAJ0Tb8/kTdEAZ1Rs8zvmRrQTSJjW3wCfYxK1
tFyXg+PK4hzA0fn2imEdlSs=
=T0F/
-----END PGP SIGNATURE-----


More information about the samba-technical mailing list