wldap32: Use ldap_memvfree() to free array allocated by libldap.

Signed-off-by: Conor McCarthy <cmccarthy@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Conor McCarthy 2019-07-16 23:08:57 +10:00 committed by Alexandre Julliard
parent b72d6d1d86
commit 02feb30b0e
1 changed files with 1 additions and 1 deletions

View File

@ -258,7 +258,7 @@ ULONG CDECL ldap_parse_resultW( WLDAP32_LDAP *ld, WLDAP32_LDAPMessage *result,
ldap_memfree( matchedU ); ldap_memfree( matchedU );
ldap_memfree( errorU ); ldap_memfree( errorU );
strarrayfreeU( referralsU ); ldap_memvfree( (void **)referralsU );
ldap_controls_free( serverctrlsU ); ldap_controls_free( serverctrlsU );
#endif #endif