summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2007-01-25 16:54:53 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:17:28 -0500
commit8751923635b93b0c53d7939e34fb8747e025ca59 (patch)
treed7e70103a6fcc186ecc533c3d46c9a9947a8bdd0 /source3
parentb979bf5686e35e5da299b8429686e90cca6fc852 (diff)
downloadsamba-8751923635b93b0c53d7939e34fb8747e025ca59.tar.gz
samba-8751923635b93b0c53d7939e34fb8747e025ca59.tar.bz2
samba-8751923635b93b0c53d7939e34fb8747e025ca59.zip
r21021: Fix memleak.
Guenther (This used to be commit 4e622572eb7939c6aa8e99fd9595bf28836bd5a3)
Diffstat (limited to 'source3')
-rw-r--r--source3/libads/ldap.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/libads/ldap.c b/source3/libads/ldap.c
index 4802f79d3e..d72cb4af26 100644
--- a/source3/libads/ldap.c
+++ b/source3/libads/ldap.c
@@ -301,6 +301,7 @@ static NTSTATUS ads_find_dc(ADS_STRUCT *ads)
goto again;
}
+ SAFE_FREE(sitename);
return status;
}