theoraenc: Fix a string leak in _getcaps()
This commit is contained in:
parent
ae620034d9
commit
39c21352e9
@ -441,6 +441,7 @@ theora_enc_sink_getcaps (GstPad * pad)
|
|||||||
supported_formats);
|
supported_formats);
|
||||||
caps = gst_caps_from_string (caps_string);
|
caps = gst_caps_from_string (caps_string);
|
||||||
g_free (caps_string);
|
g_free (caps_string);
|
||||||
|
g_free (supported_formats);
|
||||||
GST_DEBUG ("Supported caps: %" GST_PTR_FORMAT, caps);
|
GST_DEBUG ("Supported caps: %" GST_PTR_FORMAT, caps);
|
||||||
|
|
||||||
return caps;
|
return caps;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user