mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-06 09:55:50 +00:00
wldap32: Fix a message leak in ldap_parse_resultW() (Valgrind).
This commit is contained in:
parent
ca692fb39c
commit
2d17c0ff72
|
@ -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…
Reference in a new issue