Andrew Nguyen : explorerframe/tests: Free the shell items at the end of the event tests.
Alexandre Julliard
julliard at winehq.org
Mon Jan 17 10:59:47 CST 2011
Module: wine
Branch: master
Commit: 3ed34dc325d7ac7169f8d937bbcb5f90cc255178
URL: http://source.winehq.org/git/wine.git/?a=commit;h=3ed34dc325d7ac7169f8d937bbcb5f90cc255178
Author: Andrew Nguyen <anguyen at codeweavers.com>
Date: Sun Jan 16 03:41:20 2011 -0600
explorerframe/tests: Free the shell items at the end of the event tests.
Spotted with Valgrind.
---
dlls/explorerframe/tests/nstc.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/dlls/explorerframe/tests/nstc.c b/dlls/explorerframe/tests/nstc.c
index 4b23c95..2022828 100644
--- a/dlls/explorerframe/tests/nstc.c
+++ b/dlls/explorerframe/tests/nstc.c
@@ -2381,6 +2381,9 @@ static void test_events(void)
HeapFree(GetProcessHeap(), 0, pnstceimpl);
HeapFree(GetProcessHeap(), 0, pnstceimpl2);
}
+
+ IShellItem_Release(psi);
+ IShellItem_Release(psidesktop);
}
static void setup_window(void)
More information about the wine-cvs
mailing list