summaryrefslogtreecommitdiff
path: root/source3/winbindd/winbindd_ads.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-06-28 11:21:03 +0200
committerVolker Lendecke <vl@samba.org>2010-06-28 13:54:44 +0200
commita67080457926baa044265d46b7286737f4f5913a (patch)
tree86f4f016391aef00f05d5e5cddc91bd9c716ff67 /source3/winbindd/winbindd_ads.c
parentc79e0c0ce4a6689a6cd8ded7cb273d17b6be6211 (diff)
downloadsamba-a67080457926baa044265d46b7286737f4f5913a.tar.gz
s3: free -> SAFE_FREE
Diffstat (limited to 'source3/winbindd/winbindd_ads.c')
-rw-r--r--source3/winbindd/winbindd_ads.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/winbindd/winbindd_ads.c b/source3/winbindd/winbindd_ads.c
index 2b63c43003d..6f31b83f332 100644
--- a/source3/winbindd/winbindd_ads.c
+++ b/source3/winbindd/winbindd_ads.c
@@ -536,7 +536,7 @@ static NTSTATUS query_user(struct winbindd_domain *domain,
goto done;
}
rc = ads_search_retry(ads, &msg, ldap_exp, attrs);
- free(ldap_exp);
+ SAFE_FREE(ldap_exp);
if (!ADS_ERR_OK(rc) || !msg) {
DEBUG(1,("query_user(sid=%s) ads_search: %s\n",
sid_string_dbg(sid), ads_errstr(rc)));