mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +00:00
imagefreeze: plug caps leak
This commit is contained in:
parent
e937d38544
commit
02114c1cf0
1 changed files with 2 additions and 0 deletions
|
@ -293,6 +293,8 @@ gst_image_freeze_sink_getcaps (GstImageFreeze * self, GstCaps * filter)
|
|||
ret = gst_caps_copy (templ);
|
||||
}
|
||||
gst_caps_unref (templ);
|
||||
if (filter)
|
||||
gst_caps_unref (filter);
|
||||
|
||||
ret = gst_caps_make_writable (ret);
|
||||
gst_image_freeze_remove_fps (self, ret);
|
||||
|
|
Loading…
Reference in a new issue