summaryrefslogtreecommitdiff
path: root/source3/libads/ldap.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/libads/ldap.c')
-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: