mirror of https://github.com/mpv-player/mpv
Free AM_MEDIA_TYPE structure content when CEnumMediaTypes object is destroyed
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22324 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
a98fcdb7b3
commit
fe35a2d081
|
@ -142,6 +142,7 @@ static HRESULT STDCALL CEnumMediaTypes_Clone(IEnumMediaTypes * This,
|
|||
*/
|
||||
static void CEnumMediaTypes_Destroy(CEnumMediaTypes* This)
|
||||
{
|
||||
FreeMediaType(&(This->type));
|
||||
free(This->vt);
|
||||
free(This);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue