changeset 22306:e95af173a63b

Free AM_MEDIA_TYPE structure content when CEnumMediaTypes object is destroyed
author voroshil
date Fri, 23 Feb 2007 10:59:54 +0000
parents 3d1b23cf3d08
children 68125c62b6eb
files loader/dshow/outputpin.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/loader/dshow/outputpin.c	Fri Feb 23 09:58:01 2007 +0000
+++ b/loader/dshow/outputpin.c	Fri Feb 23 10:59:54 2007 +0000
@@ -142,6 +142,7 @@
  */
 static void CEnumMediaTypes_Destroy(CEnumMediaTypes* This)
 {
+    FreeMediaType(&(This->type));
     free(This->vt);
     free(This);
 }