st/mesa: fix resource leak in try_pbo_readpixels
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Thu, 2 Jun 2016 20:48:52 +0000 (22:48 +0200)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Mon, 6 Jun 2016 19:42:27 +0000 (21:42 +0200)
commit0f916d4ca741ff544fa2da72c3b11c5ca64b8b74
tree1a2d8175a394ad873075227e29073bc87d77dea7
parent627e975896e0ec1b058c6acc071fdaecbb055ce6
st/mesa: fix resource leak in try_pbo_readpixels

Found by inspection after seeing
https://bugs.freedesktop.org/show_bug.cgi?id=96343

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/mesa/state_tracker/st_cb_readpixels.c