diff options
author | Günther Deschner <gd@samba.org> | 2006-06-21 23:46:07 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:18:55 -0500 |
commit | 10252f270eae11c9f06f37b91831fcd00ceea2ef (patch) | |
tree | 3ebd15ad82818ade18b1337a756a5373e8d886d4 /source3/utils/net_ads.c | |
parent | 1b12b48a093147036e85c2fd48eda0d0fb55f385 (diff) | |
download | samba-10252f270eae11c9f06f37b91831fcd00ceea2ef.tar.gz samba-10252f270eae11c9f06f37b91831fcd00ceea2ef.tar.xz samba-10252f270eae11c9f06f37b91831fcd00ceea2ef.zip |
r16453: Fix another memleak.
Guenther
(This used to be commit 49fb1a3ebc44602302c347195752891bf28c7037)
Diffstat (limited to 'source3/utils/net_ads.c')
-rw-r--r-- | source3/utils/net_ads.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; } } |