theoraenc: Fix a string leak in _getcaps()

This commit is contained in:
Jan Schmidt 2009-09-12 02:23:07 +01:00
parent ae620034d9
commit 39c21352e9

View file

@ -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;