summaryrefslogtreecommitdiff
path: root/source3/libads
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2006-11-01 11:04:28 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:15:40 -0500
commit6b65a1c26dabfa8311592f7277c09d69e9b76226 (patch)
tree4d00c451cfbcf1895a3a0265c7028bf5a2c44914 /source3/libads
parent25fb86570d24ac22e5d69447a610e87f8584f83d (diff)
downloadsamba-6b65a1c26dabfa8311592f7277c09d69e9b76226.tar.gz
samba-6b65a1c26dabfa8311592f7277c09d69e9b76226.tar.bz2
samba-6b65a1c26dabfa8311592f7277c09d69e9b76226.zip
r19526: Fix minor memleak.
Guenther (This used to be commit 61ebedc82ee7d7a98e2a52b0677d723a801ab30f)
Diffstat (limited to 'source3/libads')
-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 2b36d5575e..6fbae51179 100644
--- a/source3/libads/ldap.c
+++ b/source3/libads/ldap.c
@@ -1232,6 +1232,7 @@ ADS_STATUS ads_del_dn(ADS_STRUCT *ads, char *del_dn)
}
ret = ldap_delete_s(ads->ld, utf8_dn);
+ SAFE_FREE(utf8_dn);
return ADS_ERROR(ret);
}