bufferpool: reset ->orig to NULL in _finalize
authorAlessandro Decina <alessandro.decina@collabora.co.uk>
Thu, 2 Feb 2012 10:35:39 +0000 (11:35 +0100)
committerAlessandro Decina <alessandro.decina@collabora.co.uk>
Thu, 2 Feb 2012 10:35:39 +0000 (11:35 +0100)
commitff4f77c1700fb99d36b3945029a4791e49670bdc
tree87ae70b09e48a65fbbb77c67945c7dbf54eb1fa8
parentbb5f7a054bf51356152bff13beb2a3019c6207f1
bufferpool: reset ->orig to NULL in _finalize

Reset ->orig to NULL on _finalize so that if a buffer is recycled we don't
_unref invalid memory.
src/gstducatibufferpool.c