[07/12] drmbufferpool: fix dmabuf leak
authorVincent Penquerc'h <vincent.penquerch@collabora.co.uk>
Thu, 23 Aug 2012 17:35:31 +0000 (17:35 +0000)
committerThibault Saunier <thibault.saunier@collabora.com>
Tue, 6 Nov 2012 16:04:08 +0000 (13:04 -0300)
commit1396958bce3eb572f23115c274ea054c15827bd7
tree9efbd6fcbfc8ea051a3b9daf48901de61a4b9a9f
parent6ed157857cafefbabb3a9987eba2579583e498db
[07/12] 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