srtpdec: Fix GstCaps memory leak

https://bugzilla.gnome.org/show_bug.cgi?id=721382
This commit is contained in:
Miguel París Díaz 2014-01-03 09:59:34 +01:00 committed by Sebastian Dröge
parent 8663611af5
commit e944195b64

View file

@ -797,6 +797,7 @@ gst_srtp_dec_sink_query (GstPad * pad, GstObject * parent, GstQuery * query,
} }
gst_query_set_caps_result (query, ret); gst_query_set_caps_result (query, ret);
gst_caps_unref (ret);
return TRUE; return TRUE;
return_template: return_template: