ducatividdec: fix memory leak with bufferpool buffers
authorRob Clark <rob@ti.com>
Mon, 12 Dec 2011 00:02:07 +0000 (18:02 -0600)
committerRob Clark <rob@ti.com>
Mon, 12 Dec 2011 02:06:50 +0000 (20:06 -0600)
commitad4b8b4380cbe909b2189ae3e7b3515184fd24f1
tree26cabce66f51ccc0c01d1c30e508c691fce8cba1
parentbb0c51bc3b3c00a499bea4b6c16d48ed7019e292
ducatividdec: fix memory leak with bufferpool buffers

If we don't have an input frame, and unref the outbuf, and the original
buffer was replaced by a bufferpool buffer, we need to unref the new
buffer, not the original.
src/gstducatibufferpool.c
src/gstducatividdec.c