diff options
author | Garima Gaur <garima.g@samsung.com> | 2016-12-27 11:14:00 +0530 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.com> | 2018-04-12 19:07:19 +0100 |
commit | 8e6375c08b2a41760d51b132486f3988e71e36b3 (patch) | |
tree | de052d9fbce48368851f8f80518cfc8c869ceb07 /ext/resindvd | |
parent | 70fbcf9c0fc81d97128dfe3c8a8ee9f1452a1226 (diff) | |
download | gstreamer-plugins-bad-8e6375c08b2a41760d51b132486f3988e71e36b3.tar.gz |
resindvd, uvch264src, dx9screencapsrc: fix clock ref leaks in error paths
https://bugzilla.gnome.org/show_bug.cgi?id=776376
Diffstat (limited to 'ext/resindvd')
-rw-r--r-- | ext/resindvd/rsninputselector.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/resindvd/rsninputselector.c b/ext/resindvd/rsninputselector.c index 678311603..4542edec3 100644 --- a/ext/resindvd/rsninputselector.c +++ b/ext/resindvd/rsninputselector.c @@ -695,6 +695,7 @@ gst_input_selector_wait_running_time (RsnInputSelector * sel, cur_running_time -= base_time; else cur_running_time = 0; + gst_object_unref (clock); } } else { GstSegment *active_seg; @@ -814,6 +815,7 @@ gst_input_selector_cleanup_old_cached_buffers (RsnInputSelector * sel, cur_running_time -= base_time; else cur_running_time = 0; + gst_object_unref (clock); } } else { GstPad *active_sinkpad; |