mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-23 07:38:16 +00:00
liveadder: fix memory leak querying sink caps
https://bugzilla.gnome.org/show_bug.cgi?id=727894
This commit is contained in:
parent
b3a18a2fcc
commit
7d97a4b20b
1 changed files with 1 additions and 0 deletions
|
@ -827,6 +827,7 @@ gst_live_adder_sink_query (GstPad * pad, GstObject * parent, GstQuery * query)
|
|||
gst_query_parse_caps (query, &filter);
|
||||
result = gst_live_adder_sink_getcaps (adder, pad, filter);
|
||||
gst_query_set_caps_result (query, result);
|
||||
gst_caps_unref (result);
|
||||
res = TRUE;
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue