summaryrefslogtreecommitdiff
path: root/source3/utils
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2006-06-21 23:46:07 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:18:55 -0500
commit10252f270eae11c9f06f37b91831fcd00ceea2ef (patch)
tree3ebd15ad82818ade18b1337a756a5373e8d886d4 /source3/utils
parent1b12b48a093147036e85c2fd48eda0d0fb55f385 (diff)
downloadsamba-10252f270eae11c9f06f37b91831fcd00ceea2ef.tar.gz
samba-10252f270eae11c9f06f37b91831fcd00ceea2ef.tar.bz2
samba-10252f270eae11c9f06f37b91831fcd00ceea2ef.zip
r16453: Fix another memleak.
Guenther (This used to be commit 49fb1a3ebc44602302c347195752891bf28c7037)
Diffstat (limited to 'source3/utils')
-rw-r--r--source3/utils/net_ads.c1
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;
}
}