Commit 8fe8a100 authored by James Hawkins's avatar James Hawkins Committed by Alexandre Julliard

msi: Free the enumeration data returned by IEnumSTATSTG_Next.

parent 7abb42a9
...@@ -5540,6 +5540,8 @@ static void enum_stream_names(IStorage *stg) ...@@ -5540,6 +5540,8 @@ static void enum_stream_names(IStorage *stg)
ok(hr == S_OK, "Expected S_OK, got %08x\n", hr); ok(hr == S_OK, "Expected S_OK, got %08x\n", hr);
ok(stm != NULL, "Expected non-NULL stream\n"); ok(stm != NULL, "Expected non-NULL stream\n");
CoTaskMemFree(stat.pwcsName);
sz = MAX_PATH; sz = MAX_PATH;
memset(data, 'a', MAX_PATH); memset(data, 'a', MAX_PATH);
hr = IStream_Read(stm, data, sz, &count); hr = IStream_Read(stm, data, sz, &count);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment