[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>
Wed, 21 Nov 2012 16:12:31 +0000 (13:12 -0300)
commit6a41b32687c8791e98767f4d0f46b372ca130852
treede9b612dfc485ef251c6239b1c6bc769b17eee77
parentd2f0b17efc7ec0c91e32c5ee91908b1a52a5a36a
[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