svn commit: samba r16453 - branches/SAMBA_3_0/source/utils
trunk/source/utils
gd at samba.org
gd at samba.org
Wed Jun 21 23:46:09 GMT 2006
Author: gd
Date: 2006-06-21 23:46:07 +0000 (Wed, 21 Jun 2006)
New Revision: 16453
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=16453
Log:
Fix another memleak.
Guenther
Modified:
branches/SAMBA_3_0/source/utils/net_ads.c
trunk/source/utils/net_ads.c
Changeset:
Modified: branches/SAMBA_3_0/source/utils/net_ads.c
===================================================================
--- branches/SAMBA_3_0/source/utils/net_ads.c 2006-06-21 23:43:33 UTC (rev 16452)
+++ branches/SAMBA_3_0/source/utils/net_ads.c 2006-06-21 23:46:07 UTC (rev 16453)
@@ -286,6 +286,7 @@
goto retry;
} else {
DEBUG(0,("ads_connect: %s\n", ads_errstr(status)));
+ ads_destroy(&ads);
return NULL;
}
}
Modified: trunk/source/utils/net_ads.c
===================================================================
--- trunk/source/utils/net_ads.c 2006-06-21 23:43:33 UTC (rev 16452)
+++ trunk/source/utils/net_ads.c 2006-06-21 23:46:07 UTC (rev 16453)
@@ -286,6 +286,7 @@
goto retry;
} else {
DEBUG(0,("ads_connect: %s\n", ads_errstr(status)));
+ ads_destroy(&ads);
return NULL;
}
}
More information about the samba-cvs
mailing list