mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 07:47:17 +00:00
playbin: Fix caps memory leak in usage of gst_static_caps_get() API
https://bugzilla.gnome.org/show_bug.cgi?id=775310
This commit is contained in:
parent
88469fdb76
commit
6c5381eda6
1 changed files with 1 additions and 0 deletions
|
@ -4733,6 +4733,7 @@ autoplug_select_cb (GstElement * decodebin, GstPad * pad,
|
||||||
}
|
}
|
||||||
|
|
||||||
gst_object_unref (sinkpad);
|
gst_object_unref (sinkpad);
|
||||||
|
gst_caps_unref (raw_caps);
|
||||||
gst_caps_unref (caps);
|
gst_caps_unref (caps);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue