[2/5] wbemprox: Also free data for tables that don't have a fill function (Valgrind).

Hans Leidekker hans at codeweavers.com
Fri Mar 24 09:49:20 CDT 2017


Signed-off-by: Hans Leidekker <hans at codeweavers.com>
---
 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 );
     }
-- 
2.1.4




More information about the wine-patches mailing list