ole32/tests: Fix a memory leak (Valgrind).

Signed-off-by: Sven Baars <sven.wine@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Sven Baars 2019-01-17 16:03:27 +01:00 committed by Alexandre Julliard
parent e37b9c74f0
commit b0042fdc92
1 changed files with 2 additions and 0 deletions

View File

@ -4091,6 +4091,8 @@ static void check_storage_contents(IStorage *stg, const struct storage_def *stg_
*enumerated_streams += 1; *enumerated_streams += 1;
} }
IEnumSTATSTG_Release(enumstg);
} }
static HRESULT stgmedium_cmp(const STGMEDIUM *med1, STGMEDIUM *med2) static HRESULT stgmedium_cmp(const STGMEDIUM *med1, STGMEDIUM *med2)