mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 20:59:54 +00:00
msi: Free the enumeration data returned by IEnumSTATSTG_Next.
This commit is contained in:
parent
7abb42a994
commit
8fe8a100c8
@ -5540,6 +5540,8 @@ static void enum_stream_names(IStorage *stg)
|
||||
ok(hr == S_OK, "Expected S_OK, got %08x\n", hr);
|
||||
ok(stm != NULL, "Expected non-NULL stream\n");
|
||||
|
||||
CoTaskMemFree(stat.pwcsName);
|
||||
|
||||
sz = MAX_PATH;
|
||||
memset(data, 'a', MAX_PATH);
|
||||
hr = IStream_Read(stm, data, sz, &count);
|
||||
|
Loading…
Reference in New Issue
Block a user