Conor McCarthy : wldap32: Use ldap_memvfree() to free array allocated by libldap.
Module: wine Branch: master Commit: 02feb30b0ef0cc4f31cd885f5659026711b79c07 URL: https://source.winehq.org/git/wine.git/?a=commit;h=02feb30b0ef0cc4f31cd885f5... Author: Conor McCarthy <cmccarthy(a)codeweavers.com> Date: Tue Jul 16 23:08:57 2019 +1000 wldap32: Use ldap_memvfree() to free array allocated by libldap. Signed-off-by: Conor McCarthy <cmccarthy(a)codeweavers.com> Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- dlls/wldap32/parse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/wldap32/parse.c b/dlls/wldap32/parse.c index 62ffdba..e83e6d2 100644 --- a/dlls/wldap32/parse.c +++ b/dlls/wldap32/parse.c @@ -258,7 +258,7 @@ ULONG CDECL ldap_parse_resultW( WLDAP32_LDAP *ld, WLDAP32_LDAPMessage *result, ldap_memfree( matchedU ); ldap_memfree( errorU ); - strarrayfreeU( referralsU ); + ldap_memvfree( (void **)referralsU ); ldap_controls_free( serverctrlsU ); #endif
participants (1)
-
Alexandre Julliard