ole32/tests: Fix a memleak on an error path (Smatch)
Michael Stefaniuc
mstefani at redhat.de
Tue Oct 30 17:15:44 CDT 2012
---
dlls/ole32/tests/propvariant.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/dlls/ole32/tests/propvariant.c b/dlls/ole32/tests/propvariant.c
index 769d49a..4d9a81b 100644
--- a/dlls/ole32/tests/propvariant.c
+++ b/dlls/ole32/tests/propvariant.c
@@ -445,6 +445,7 @@ static void test_varianttoproperty(void)
if (len == 0xdeadbeef)
{
+ HeapFree(GetProcessHeap(), 0, own_propvalue);
return;
}
--
1.7.6.5
More information about the wine-patches
mailing list