Commit 0c34a2c9 authored by Zebediah Figura's avatar Zebediah Figura Committed by Alexandre Julliard

winegstreamer: Fix a leak in gstdecoder_source_get_media_type().

parent f4d66140
......@@ -1713,6 +1713,7 @@ static HRESULT gstdecoder_source_get_media_type(struct gstdemux_source *pin,
gst_caps_unref(caps);
return S_OK;
}
FreeMediaType(mt);
}
if (!strcmp(type, "video/x-raw") && index < ARRAY_SIZE(video_formats))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment