wldap32: Fix a message leak in ldap_parse_resultW() (Valgrind).
This commit is contained in:
parent
ca692fb39c
commit
2d17c0ff72
1 changed files with 1 additions and 0 deletions
|
@ -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 );
|
||||
|
|
Loading…
Add table
Reference in a new issue