summaryrefslogtreecommitdiffstats
path: root/loader
diff options
context:
space:
mode:
authorvoroshil <voroshil@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-02-23 10:59:54 +0000
committervoroshil <voroshil@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-02-23 10:59:54 +0000
commitfe35a2d081efedaffe32f96fad5381968e3731a6 (patch)
tree72285d4023315cacf2ee6109dcbcf471489d450a /loader
parenta98fcdb7b3b147c15bd089b5a36fe3db0b0fd55a (diff)
downloadmpv-fe35a2d081efedaffe32f96fad5381968e3731a6.tar.bz2
mpv-fe35a2d081efedaffe32f96fad5381968e3731a6.tar.xz
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
Diffstat (limited to 'loader')
-rw-r--r--loader/dshow/outputpin.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/loader/dshow/outputpin.c b/loader/dshow/outputpin.c
index a92c689bc7..0f4b7ce41d 100644
--- a/loader/dshow/outputpin.c
+++ b/loader/dshow/outputpin.c
@@ -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);
}