meta: Cleanup function for DrawTex
authorYevhenii Kolesnikov <yevhenii.kolesnikov@globallogic.com>
Fri, 19 Jul 2019 12:10:25 +0000 (15:10 +0300)
committerYevhenii Kolesnikov <yevhenii.kolesnikov@globallogic.com>
Mon, 30 Dec 2019 10:41:52 +0000 (12:41 +0200)
commitb318bc2072d42a58b491dac3aa6118012d92e5bb
treea883feab02909694eae71b244404e733a471523e
parent7040d6c1972222ae3904d32d79a13c8f53824fed
meta: Cleanup function for DrawTex

Buffer object was never freed, causing memory leaks.

Fixes: 76cfe2bc443 ("meta: Don't pollute the buffer object namespace in _mesa_meta_DrawTex")
CC: Ian Romanick <ian.d.romanick@intel.com>
Signed-off-by: Yevhenii Kolesnikov <yevhenii.kolesnikov@globallogic.com>
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/1390>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/1390>
src/mesa/drivers/common/meta.c