Juan Lang : ole32: Fix a memory leak.

Alexandre Julliard julliard at winehq.org
Fri Dec 18 10:49:07 CST 2009


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

Author: Juan Lang <juan.lang at gmail.com>
Date:   Thu Dec 17 10:46:41 2009 -0800

ole32: Fix a memory leak.

---

 dlls/ole32/stg_prop.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/dlls/ole32/stg_prop.c b/dlls/ole32/stg_prop.c
index 643848a..cd2395f 100644
--- a/dlls/ole32/stg_prop.c
+++ b/dlls/ole32/stg_prop.c
@@ -1406,6 +1406,7 @@ static HRESULT PropertyStorage_ReadFromStream(PropertyStorage_impl *This)
                          idOffset->propid, &prop, This->codePage);
                     }
                 }
+                PropVariantClear(&prop);
             }
         }
     }




More information about the wine-cvs mailing list