[1/3] wbemprox: Fix a memory leak.

Hans Leidekker hans at codeweavers.com
Tue Sep 18 06:11:42 CDT 2012


---
 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 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[] =
 {
-- 
1.7.10.4







More information about the wine-patches mailing list