[PATCH] wldap32: Use ldap_memvfree() to free array allocated by libldap.
Conor McCarthy
cmccarthy at codeweavers.com
Tue Jul 16 08:08:57 CDT 2019
Signed-off-by: Conor McCarthy <cmccarthy at codeweavers.com>
---
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 62ffdbab..e83e6d23 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
--
2.22.0
More information about the wine-devel
mailing list