# HG changeset patch # User voroshil # Date 1172228394 0 # Node ID e95af173a63b01547614b720322591489f188ff5 # Parent 3d1b23cf3d086d6a5dfc3498807e5d34300dd459 Free AM_MEDIA_TYPE structure content when CEnumMediaTypes object is destroyed diff -r 3d1b23cf3d08 -r e95af173a63b loader/dshow/outputpin.c --- 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); }