[1/7] wbemprox: Store a copy of the table name.
Hans Leidekker
hans at codeweavers.com
Thu Oct 4 08:36:14 CDT 2012
---
dlls/wbemprox/table.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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;
--
1.7.10.4
More information about the wine-patches
mailing list