Hans Leidekker : wbemprox: Store a copy of the table name.

Alexandre Julliard julliard at winehq.org
Thu Oct 4 13:38:38 CDT 2012


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

Author: Hans Leidekker <hans at 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;




More information about the wine-cvs mailing list