6 Sep
2024
6 Sep
'24
2:48 p.m.
From: Hans Leidekker <hans(a)codeweavers.com> --- dlls/odbc32/proxyodbc.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dlls/odbc32/proxyodbc.c b/dlls/odbc32/proxyodbc.c index b0a7bf498e6..aa2826e4550 100644 --- a/dlls/odbc32/proxyodbc.c +++ b/dlls/odbc32/proxyodbc.c @@ -4290,6 +4290,9 @@ static void free_attribute_list( struct attribute_list *list ) { UINT32 i; for (i = 0; i < list->count; i++) free_attribute( list->attrs[i] ); + free( list->attrs ); + list->count = 0; + list->attrs = NULL; } static BOOL append_attribute( struct attribute_list *list, struct attribute *attr ) -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/6451