git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ed89ef4
)
s3:libads: Pass the correct ADS_STRUCT pointer to ads_msgfree
author
Samuel Cabrero
<scabrero@samba.org>
Tue, 24 May 2022 16:09:02 +0000
(18:09 +0200)
committer
Jeremy Allison
<jra@samba.org>
Mon, 27 Jun 2022 15:50:29 +0000
(15:50 +0000)
The search is performed using the ads_s pointer.
Signed-off-by: Samuel Cabrero <scabrero@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/libads/ldap.c
patch
|
blob
|
history
diff --git
a/source3/libads/ldap.c
b/source3/libads/ldap.c
index 4a533c9dc88e297254cad2d55ad59d52017b9701..94dea1801727f909d32d3788dcc2fee861bd3e09 100755
(executable)
--- a/
source3/libads/ldap.c
+++ b/
source3/libads/ldap.c
@@
-3421,7
+3421,7
@@
ADS_STATUS ads_domain_func_level(ADS_STRUCT *ads, uint32_t *val)
DEBUG(3,("ads_domain_func_level: %d\n", *val));
- ads_msgfree(ads, res);
+ ads_msgfree(ads
_s
, res);
done:
/* free any temporary ads connections */