Hans Leidekker : wbemprox: Fix a memory leak.

Alexandre Julliard julliard at winehq.org
Tue Sep 18 14:04:30 CDT 2012


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

Author: Hans Leidekker <hans at codeweavers.com>
Date:   Tue Sep 18 13:11:42 2012 +0200

wbemprox: Fix a memory leak.

---

 dlls/wbemprox/builtin.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/wbemprox/builtin.c b/dlls/wbemprox/builtin.c
index 5434fc5..54992b3 100644
--- a/dlls/wbemprox/builtin.c
+++ b/dlls/wbemprox/builtin.c
@@ -233,7 +233,7 @@ static const struct column col_os[] =
     { prop_csdversionW,      CIM_STRING },
     { prop_osarchitectureW,  CIM_STRING },
     { prop_oslanguageW,      CIM_UINT32, VT_I4 },
-    { prop_systemdirectoryW, CIM_STRING }
+    { prop_systemdirectoryW, CIM_STRING|COL_FLAG_DYNAMIC }
 };
 static const struct column col_params[] =
 {




More information about the wine-cvs mailing list