Hans Leidekker : wbemprox: Also free data for tables that don' t have a fill function (Valgrind).

Alexandre Julliard julliard at winehq.org
Fri Mar 24 16:24:24 CDT 2017


Module: wine
Branch: master
Commit: 66e3c97ca79f2dba590d281cfb4e04face345617
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=66e3c97ca79f2dba590d281cfb4e04face345617

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>

---

 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