Hans Leidekker : wbemprox: Fix a memory leak.

Alexandre Julliard julliard at wine.codeweavers.com
Fri Apr 3 07:14:59 CDT 2015


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

Author: Hans Leidekker <hans at codeweavers.com>
Date:   Thu Apr  2 16:19:12 2015 +0200

wbemprox: Fix a memory leak.

---

 dlls/wbemprox/builtin.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/wbemprox/builtin.c b/dlls/wbemprox/builtin.c
index f7a9fc7..917ae28 100644
--- a/dlls/wbemprox/builtin.c
+++ b/dlls/wbemprox/builtin.c
@@ -361,7 +361,7 @@ static const struct column col_compsys[] =
     { prop_numlogicalprocessorsW, CIM_UINT32, VT_I4 },
     { prop_numprocessorsW,        CIM_UINT32, VT_I4 },
     { prop_totalphysicalmemoryW,  CIM_UINT64 },
-    { prop_usernameW,             CIM_STRING }
+    { prop_usernameW,             CIM_STRING|COL_FLAG_DYNAMIC }
 };
 static const struct column col_compsysproduct[] =
 {




More information about the wine-cvs mailing list