Author: gd Date: 2006-09-06 13:13:12 +0000 (Wed, 06 Sep 2006) New Revision: 18175
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=18175 Log: Forgot to call asn1_free() in previous commit. Guenther Modified: branches/SAMBA_3_0/source/libads/cldap.c branches/SAMBA_3_0_23/source/libads/cldap.c Changeset: Modified: branches/SAMBA_3_0/source/libads/cldap.c =================================================================== --- branches/SAMBA_3_0/source/libads/cldap.c 2006-09-06 13:10:20 UTC (rev 18174) +++ branches/SAMBA_3_0/source/libads/cldap.c 2006-09-06 13:13:12 UTC (rev 18175) @@ -160,6 +160,7 @@ if (write(sock, data.data, data.length) != (ssize_t)data.length) { DEBUG(2,("failed to send cldap query (%s)\n", strerror(errno))); + asn1_free(&data); return -1; } Modified: branches/SAMBA_3_0_23/source/libads/cldap.c =================================================================== --- branches/SAMBA_3_0_23/source/libads/cldap.c 2006-09-06 13:10:20 UTC (rev 18174) +++ branches/SAMBA_3_0_23/source/libads/cldap.c 2006-09-06 13:13:12 UTC (rev 18175) @@ -160,6 +160,7 @@ if (write(sock, data.data, data.length) != (ssize_t)data.length) { DEBUG(2,("failed to send cldap query (%s)\n", strerror(errno))); + asn1_free(&data); return -1; }
