summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/libads/cldap.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/libads/cldap.c b/source3/libads/cldap.c
index 81901d2fd3..72018c620d 100644
--- a/source3/libads/cldap.c
+++ b/source3/libads/cldap.c
@@ -160,6 +160,7 @@ static int send_cldap_netlogon(int sock, const char *domain,
if (write(sock, data.data, data.length) != (ssize_t)data.length) {
DEBUG(2,("failed to send cldap query (%s)\n", strerror(errno)));
+ asn1_free(&data);
return -1;
}