mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
s3:libads: Pass the correct ADS_STRUCT pointer to ads_msgfree
The search is performed using the ads_s pointer. Signed-off-by: Samuel Cabrero <scabrero@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
parent
ed89ef46af
commit
6223dea34e
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user