Commit 7b862464 authored by Indrek Altpere's avatar Indrek Altpere Committed by Alexandre Julliard

winemenubuilder: Fix resource leak (Valgrind).

parent 8c9011db
......@@ -515,6 +515,8 @@ static HRESULT convert_to_native_icon(IStream *icoFile, int *indices, int numInd
IWICBitmapSource_Release(sourceBitmap);
if (dstFrame)
IWICBitmapFrameEncode_Release(dstFrame);
if (options)
IPropertyBag2_Release(options);
}
hr = IWICBitmapEncoder_Commit(encoder);
......
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