diff --git a/ext/theora/theoraenc.c b/ext/theora/theoraenc.c index dc1865ca20..8f19986ca5 100644 --- a/ext/theora/theoraenc.c +++ b/ext/theora/theoraenc.c @@ -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;