Commit 2d17c0ff authored by Sven Baars's avatar Sven Baars Committed by Alexandre Julliard

wldap32: Fix a message leak in ldap_parse_resultW() (Valgrind).

parent ca692fb3
......@@ -188,6 +188,7 @@ ULONG CDECL ldap_parse_resultW( LDAP *ld, WLDAP32_LDAPMessage *result, ULONG *re
if (referrals) *referrals = strarrayUtoW( referralsU );
if (serverctrls) *serverctrls = controlarrayUtoW( serverctrlsU );
if (free) ldap_msgfree( result );
ldap_memfree( matchedU );
ldap_memfree( errorU );
ldap_memfree( referralsU );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment