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:
parent
b72d6d1d86
commit
02feb30b0e
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue