mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-28 04:31:06 +00:00
theoraenc: Fix a string leak in _getcaps()
This commit is contained in:
parent
ae620034d9
commit
39c21352e9
1 changed files with 1 additions and 0 deletions
|
@ -441,6 +441,7 @@ theora_enc_sink_getcaps (GstPad * pad)
|
|||
supported_formats);
|
||||
caps = gst_caps_from_string (caps_string);
|
||||
g_free (caps_string);
|
||||
g_free (supported_formats);
|
||||
GST_DEBUG ("Supported caps: %" GST_PTR_FORMAT, caps);
|
||||
|
||||
return caps;
|
||||
|
|
Loading…
Reference in a new issue