1
0
mirror of https://github.com/wine-mirror/wine synced 2024-07-08 03:45:57 +00:00

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

This commit is contained in:
Sven Baars 2023-07-30 16:16:39 +02:00 committed by Alexandre Julliard
parent ca692fb39c
commit 2d17c0ff72

View File

@ -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 );