oleaut32: Fix a leak of bmi in OLEPictureImpl_LoadGif.
This commit is contained in:
parent
4d08815173
commit
51e2e1cc4b
|
@ -1237,6 +1237,7 @@ static HRESULT OLEPictureImpl_LoadGif(OLEPictureImpl *This, BYTE *xbuf, ULONG xr
|
|||
This->desc.picType = PICTYPE_BITMAP;
|
||||
OLEPictureImpl_SetBitmap(This);
|
||||
DGifCloseFile(gif);
|
||||
HeapFree(GetProcessHeap(),0,bmi);
|
||||
HeapFree(GetProcessHeap(),0,bytes);
|
||||
return S_OK;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue