diff options
author | Mark Nauwelaerts <mark.nauwelaerts@collabora.co.uk> | 2012-03-24 09:51:06 +0100 |
---|---|---|
committer | Mark Nauwelaerts <mark.nauwelaerts@collabora.co.uk> | 2012-03-24 09:51:06 +0100 |
commit | 02114c1cf0b922abc0f9c9405d16751eec147eb7 (patch) | |
tree | a1306db0b0bd7546797294e2b6c73e2f13537fd2 /gst/imagefreeze | |
parent | e937d385442d7b9aeb37dcbf4619c8f5ac990342 (diff) |
imagefreeze: plug caps leak0.11
Diffstat (limited to 'gst/imagefreeze')
-rw-r--r-- | gst/imagefreeze/gstimagefreeze.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gst/imagefreeze/gstimagefreeze.c b/gst/imagefreeze/gstimagefreeze.c index 16a9b234a..da2872f51 100644 --- a/gst/imagefreeze/gstimagefreeze.c +++ b/gst/imagefreeze/gstimagefreeze.c @@ -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); |