v4l2bufferpool: check that allocator is non null when stopping pool
authorAurélien Zanelli <aurelien.zanelli@parrot.com>
Wed, 8 Oct 2014 08:35:14 +0000 (10:35 +0200)
committerNicolas Dufresne <nicolas.dufresne@collabora.com>
Wed, 29 Oct 2014 20:24:01 +0000 (16:24 -0400)
commit7ed27c264cb69f830cf79fe1634adf624f46b16d
tree66233abf5d396821c0618c228fb4d50e5eaba256
parentcc709d06de2607a81513a6b2e2496e183f7fd5e0
v4l2bufferpool: check that allocator is non null when stopping pool

Otherwise, we could dereference NULL allocator when the stop method is
called by the GstBufferPool's finalize method.

https://bugzilla.gnome.org/show_bug.cgi?id=738102
sys/v4l2/gstv4l2bufferpool.c