commit | 0caae47658f65e8566a579d3c389e1fa9e48da2d | [log] [tgz] |
---|---|---|
author | Maarten Lankhorst <m.b.lankhorst@gmail.com> | Wed May 18 13:25:20 2005 +0000 |
committer | Alexandre Julliard <julliard@winehq.org> | Wed May 18 13:25:20 2005 +0000 |
tree | 89ee831b1ce465925b51ab0dba670dabfdc0968b | |
parent | 10d48a9464369438628d3e8de85a6c37e5a16da7 [diff] [blame] |
Fixed freeing of mediatype.
diff --git a/dlls/quartz/memallocator.c b/dlls/quartz/memallocator.c index c678939..9f3d9dd 100644 --- a/dlls/quartz/memallocator.c +++ b/dlls/quartz/memallocator.c
@@ -659,7 +659,7 @@ TRACE("(%p)\n", pMediaType); if (This->props.pMediaType) - DeleteMediaType(This->props.pMediaType); + FreeMediaType(This->props.pMediaType); else if (!(This->props.pMediaType = CoTaskMemAlloc(sizeof(AM_MEDIA_TYPE)))) return E_OUTOFMEMORY;