From 6b65a1c26dabfa8311592f7277c09d69e9b76226 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Wed, 1 Nov 2006 11:04:28 +0000 Subject: r19526: Fix minor memleak. Guenther (This used to be commit 61ebedc82ee7d7a98e2a52b0677d723a801ab30f) --- source3/libads/ldap.c | 1 + 1 file changed, 1 insertion(+) (limited to 'source3/libads') 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); } -- cgit