Commit 02943d96 authored by Alexander Dorofeyev's avatar Alexander Dorofeyev Committed by Alexandre Julliard

quartz: Fix interface leak in EnumMonikerImpl_Release.

parent de5b4d7c
......@@ -123,6 +123,11 @@ static ULONG WINAPI EnumMonikerImpl_Release(LPENUMMONIKER iface)
if (!ref)
{
ULONG i;
for (i = 0; i < This->nMonikerCount; i++)
IMoniker_Release(This->ppMoniker[i]);
CoTaskMemFree(This->ppMoniker);
This->ppMoniker = NULL;
CoTaskMemFree(This);
......
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