git.samba.org
/
kamenim
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c79e0c0
)
s3: free -> SAFE_FREE
author
Volker Lendecke
<vl@samba.org>
Mon, 28 Jun 2010 09:21:03 +0000
(11:21 +0200)
committer
Volker Lendecke
<vl@samba.org>
Mon, 28 Jun 2010 11:54:44 +0000
(13:54 +0200)
source3/winbindd/winbindd_ads.c
patch
|
blob
|
history
diff --git
a/source3/winbindd/winbindd_ads.c
b/source3/winbindd/winbindd_ads.c
index 2b63c43003ddabbe6397be6de3fd720decb38fd6..6f31b83f33221b73c3e5fc27b4958e3beea72360 100644
(file)
--- 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)));