meta: leaking of BO with DrawPixels
authorYevhenii Kolesnikov <yevhenii.kolesnikov@globallogic.com>
Tue, 9 Jul 2019 12:11:15 +0000 (15:11 +0300)
committerEric Anholt <eric@anholt.net>
Tue, 16 Jul 2019 20:06:56 +0000 (20:06 +0000)
commit3853871ef80d3dcd357b72056f2ce709706ac11c
tree48944372bf8d8c652a3162896494c6cd0165f259
parente8360a64e43f2f254addd6dc414df018f6286a92
meta: leaking of BO with DrawPixels

ctx->Unpack.BufferObj wasn't unreferenced.

Fixes: d492e7b0171 (meta: Fix invalid PBO access from DrawPixels when
trying to just alloc.)
CC: Eric Anholt <eric@anholt.net>
Signed-off-by: Yevhenii Kolesnikov <yevhenii.kolesnikov@globallogic.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/drivers/common/meta.c