Alex Henrie alexhenrie24@gmail.com writes:
@@ -1848,8 +1848,10 @@ CompositeMonikerImpl_Construct(IMoniker **ppMoniker, IMoniker *pmkFirst, IMonike IMoniker_Release(This->tabMoniker[This->tabLastIndex-1]);
This->tabMoniker[This->tabLastIndex-1]=tempMk;
} else
} else{
HeapFree(GetProcessHeap(), 0, This); return res;
}
You'd need to free the contents too, at least This->tabMoniker and its references.