s3:libads: Pass the correct ADS_STRUCT pointer to ads_msgfree
authorSamuel Cabrero <scabrero@samba.org>
Tue, 24 May 2022 16:09:02 +0000 (18:09 +0200)
committerJeremy Allison <jra@samba.org>
Mon, 27 Jun 2022 15:50:29 +0000 (15:50 +0000)
commit6223dea34e7a5af95321c02acd6a6022531bced1
tree657a05e87401e717f224023a9d76298dd3d6faf8
parented89ef46af2d29dafdb95a3cca38f0d350be95bd
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>
source3/libads/ldap.c