diff options
Diffstat (limited to 'source4/libcli/ldap/ldap_client.c')
-rw-r--r-- | source4/libcli/ldap/ldap_client.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/libcli/ldap/ldap_client.c b/source4/libcli/ldap/ldap_client.c index 8852fd5427..39f265015a 100644 --- a/source4/libcli/ldap/ldap_client.c +++ b/source4/libcli/ldap/ldap_client.c @@ -186,6 +186,7 @@ static NTSTATUS ldap_recv_handler(void *private_data, DATA_BLOB blob) status = ldap_decode(&asn1, msg); if (!NT_STATUS_IS_OK(status)) { + asn1_free(&asn1); return status; } |