From 10252f270eae11c9f06f37b91831fcd00ceea2ef Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Wed, 21 Jun 2006 23:46:07 +0000 Subject: r16453: Fix another memleak. Guenther (This used to be commit 49fb1a3ebc44602302c347195752891bf28c7037) --- source3/utils/net_ads.c | 1 + 1 file changed, 1 insertion(+) diff --git a/source3/utils/net_ads.c b/source3/utils/net_ads.c index fabf36e252..9d122a466b 100644 --- a/source3/utils/net_ads.c +++ b/source3/utils/net_ads.c @@ -286,6 +286,7 @@ retry: goto retry; } else { DEBUG(0,("ads_connect: %s\n", ads_errstr(status))); + ads_destroy(&ads); return NULL; } } -- cgit