From: Brian Paul Date: Wed, 28 Apr 2010 21:22:27 +0000 (-0600) Subject: llvmpipe: fix scene queue memory leak X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0728db86bc8d4e9223aad56d0848f1fc4cb95f13;p=mesa.git llvmpipe: fix scene queue memory leak --- diff --git a/src/gallium/drivers/llvmpipe/lp_setup.c b/src/gallium/drivers/llvmpipe/lp_setup.c index 6f162482f46..21509560084 100644 --- a/src/gallium/drivers/llvmpipe/lp_setup.c +++ b/src/gallium/drivers/llvmpipe/lp_setup.c @@ -778,6 +778,8 @@ lp_setup_destroy( struct lp_setup_context *setup ) lp_scene_destroy(scene); } + lp_scene_queue_destroy(setup->empty_scenes); + lp_rast_destroy( setup->rast ); FREE( setup );