winemenubuilder: Fix resource leak (Valgrind).
This commit is contained in:
parent
8c9011db67
commit
7b8624649a
|
@ -515,6 +515,8 @@ static HRESULT convert_to_native_icon(IStream *icoFile, int *indices, int numInd
|
||||||
IWICBitmapSource_Release(sourceBitmap);
|
IWICBitmapSource_Release(sourceBitmap);
|
||||||
if (dstFrame)
|
if (dstFrame)
|
||||||
IWICBitmapFrameEncode_Release(dstFrame);
|
IWICBitmapFrameEncode_Release(dstFrame);
|
||||||
|
if (options)
|
||||||
|
IPropertyBag2_Release(options);
|
||||||
}
|
}
|
||||||
|
|
||||||
hr = IWICBitmapEncoder_Commit(encoder);
|
hr = IWICBitmapEncoder_Commit(encoder);
|
||||||
|
|
Loading…
Reference in New Issue