Module: wine Branch: master Commit: b73bbf59734647994911c5c7c8babd295f2afe2a URL: http://source.winehq.org/git/wine.git/?a=commit;h=b73bbf59734647994911c5c7c8...
Author: Hans Leidekker hans@codeweavers.com Date: Thu Oct 4 15:36:14 2012 +0200
wbemprox: Store a copy of the table name.
---
dlls/wbemprox/table.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/wbemprox/table.c b/dlls/wbemprox/table.c index c0e3eef..4305f1f 100644 --- a/dlls/wbemprox/table.c +++ b/dlls/wbemprox/table.c @@ -335,7 +335,7 @@ struct table *create_table( const WCHAR *name, UINT num_cols, const struct colum struct table *table;
if (!(table = heap_alloc( sizeof(*table) ))) return NULL; - table->name = name; + table->name = heap_strdupW( name ); table->num_cols = num_cols; table->columns = columns; table->num_rows = num_rows;