Skip to content
Snippets Groups Projects
Commit 12e9ed8e authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

Fix memory leak

parent 36880023
Branches
Tags
No related merge requests found
......@@ -68,6 +68,7 @@ ldap_first_attribute( LDAP *ld, LDAPMessage *entry, BerElement **berout )
if ( ber_pvt_ber_remaining( ber ) == 0 ) {
assert( len == 0 );
ber_free( ber, 0 );
return NULL;
}
assert( len != 0 );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment