inputselector: Fix buffer leak in sync_streams & cache_buffers mode
authorEunhae Choi <eunhae1.choi@samsung.com>
Mon, 21 Sep 2015 05:58:46 +0000 (14:58 +0900)
committerSebastian Dröge <sebastian@centricular.com>
Mon, 21 Sep 2015 08:33:55 +0000 (10:33 +0200)
commitebd2748cd0d6b2e0b35c1d87b7170dfe673ec917
tree8593d2fa61b7d804e8ce8a5628466af179ca14da
parentc12bd5d807a5d21cea5be56cf22649f65b9fe9d5
inputselector: Fix buffer leak in sync_streams & cache_buffers mode

After doing gst_pad_push() in case of sync_streams and cache_buffers,
if the buffer can not be kept in cache, it should be unreffed to avoid
memory leackage.

https://bugzilla.gnome.org/show_bug.cgi?id=755141
plugins/elements/gstinputselector.c