summaryrefslogtreecommitdiff
path: root/source3/libads
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2006-05-18 15:08:09 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:17:07 -0500
commite129dc40f71e9b10c293d8d3f923c5636597bf6f (patch)
treec7ddee977067efbc883ec3533e956e02b1431fde /source3/libads
parentc4d4e8dd31d18e578e5d79be687a00d3ab52c7ef (diff)
downloadsamba-e129dc40f71e9b10c293d8d3f923c5636597bf6f.tar.gz
samba-e129dc40f71e9b10c293d8d3f923c5636597bf6f.tar.bz2
samba-e129dc40f71e9b10c293d8d3f923c5636597bf6f.zip
r15696: Free LDAP search result.
Guenther (This used to be commit ec26c355b3ef1d3d809c4fbe911ce6fcef5db955)
Diffstat (limited to 'source3/libads')
-rw-r--r--source3/libads/ldap.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/libads/ldap.c b/source3/libads/ldap.c
index 5f0e296a04..b208e58504 100644
--- a/source3/libads/ldap.c
+++ b/source3/libads/ldap.c
@@ -2422,6 +2422,8 @@ ADS_STATUS ads_current_time(ADS_STRUCT *ads)
DEBUG(4,("time offset is %d seconds\n", ads->auth.time_offset));
}
+ ads_msgfree(ads, res);
+
status = ADS_SUCCESS;
done: