Rob Shearman : ole32: Fix stream reference leak in test_ReadClassStm.
Module: wine Branch: master Commit: 36bfaea96de8854ce112c1e8150912ed18130365 URL: http://source.winehq.org/git/wine.git/?a=commit;h=36bfaea96de8854ce112c1e815... Author: Rob Shearman <robertshearman(a)gmail.com> Date: Tue Dec 29 19:00:22 2009 +0000 ole32: Fix stream reference leak in test_ReadClassStm. --- dlls/ole32/tests/storage32.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/dlls/ole32/tests/storage32.c b/dlls/ole32/tests/storage32.c index e8a7ec9..19c1e8f 100644 --- a/dlls/ole32/tests/storage32.c +++ b/dlls/ole32/tests/storage32.c @@ -1593,6 +1593,8 @@ static void test_ReadClassStm(void) hr = ReadClassStm(pStream, &clsid); ok_ole_success(hr, "ReadClassStm"); ok(IsEqualCLSID(&clsid, &test_stg_cls), "clsid should have been set to CLSID_WineTest\n"); + + IStream_Release(pStream); } struct access_res
participants (1)
-
Alexandre Julliard