GNOME Bugzilla – Bug 739791
v4l2bufferpool: unref pool when v4l2_allocator_new() fails
Last modified: 2014-12-01 15:14:23 UTC
In gst_v4l2_buffer_pool_new(), we don't unref pool if we can't create v4l2 allocator leading to a leak.
Created attachment 290179 [details] [review] v4l2bufferpool: unref pool when v4l2_allocator_new() fails
Review of attachment 290179 [details] [review]: Yep, good catch.
Comment on attachment 290179 [details] [review] v4l2bufferpool: unref pool when v4l2_allocator_new() fails 1.5 commit 74eb9037271cd6de848213f25168b6fe91b46ef5 Author: Aurélien Zanelli <aurelien.zanelli@parrot.com> Date: Fri Nov 7 16:41:52 2014 +0100 v4l2bufferpool: unref pool when v4l2_allocator_new() fails https://bugzilla.gnome.org/show_bug.cgi?id=739791 And 1.4 commit 3aad797e2b69bcc413420bda69941e0c420ecd3e