Commit 39c21352 authored by Jan Schmidt's avatar Jan Schmidt

theoraenc: Fix a string leak in _getcaps()

parent ae620034
......@@ -441,6 +441,7 @@ theora_enc_sink_getcaps (GstPad * pad)
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;
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