From 0728db86bc8d4e9223aad56d0848f1fc4cb95f13 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Wed, 28 Apr 2010 15:22:27 -0600 Subject: [PATCH] llvmpipe: fix scene queue memory leak --- src/gallium/drivers/llvmpipe/lp_setup.c | 2 ++ 1 file changed, 2 insertions(+) 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 ); -- 2.30.2