drmbufferpool: fix dmabuf leak
authorVincent Penquerc'h <vincent.penquerch@collabora.co.uk>
Thu, 23 Aug 2012 17:35:31 +0000 (17:35 +0000)
committerVincent Penquerc'h <vincent.penquerch@collabora.co.uk>
Thu, 23 Aug 2012 17:35:31 +0000 (17:35 +0000)
commit44102bb617c16c93061de99a8f5a3d1909738f50
treef074d1a896f38584cfe67bba5818890d815e56a9
parentfd451b57b4dd147eb8e7992214ac8dd06c14c309
drmbufferpool: fix dmabuf leak

As the comment in gst_drm_buffer_initialize says, gst_buffer_set_dma_buf
does not take ownership of the passed dmabuf, so unref it when done.
gst-libs/gst/drm/gstdrmbufferpool.c