Hans Leidekker : wbemprox: Also free data for tables that don' t have a fill function (Valgrind).
Alexandre Julliard
julliard at winehq.org
Fri Oct 20 07:19:59 CDT 2017
Module: wine
Branch: stable
Commit: 64d406c8c47a02b41d0729396708d49e7dc2c064
URL: http://source.winehq.org/git/wine.git/?a=commit;h=64d406c8c47a02b41d0729396708d49e7dc2c064
Author: Hans Leidekker <hans at codeweavers.com>
Date: Fri Mar 24 15:49:20 2017 +0100
wbemprox: Also free data for tables that don't have a fill function (Valgrind).
Signed-off-by: Hans Leidekker <hans at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
(cherry picked from commit 66e3c97ca79f2dba590d281cfb4e04face345617)
Signed-off-by: Michael Stefaniuc <mstefani at winehq.org>
---
dlls/wbemprox/table.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/dlls/wbemprox/table.c b/dlls/wbemprox/table.c
index 273b8cb..ad56e0c 100644
--- a/dlls/wbemprox/table.c
+++ b/dlls/wbemprox/table.c
@@ -334,6 +334,7 @@ void free_table( struct table *table )
TRACE("destroying %p\n", table);
heap_free( (WCHAR *)table->name );
free_columns( (struct column *)table->columns, table->num_cols );
+ heap_free( table->data );
list_remove( &table->entry );
heap_free( table );
}
More information about the wine-cvs
mailing list