aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2010-04-28 15:22:27 -0600
committerBrian Paul <[email protected]>2010-04-28 15:25:50 -0600
commit0728db86bc8d4e9223aad56d0848f1fc4cb95f13 (patch)
treecaf12d8604074fefa5eb49679c712b241d4af2cf /src
parent7dd44ca5f692f10a367b3862084f8b76bf3ad73b (diff)
llvmpipe: fix scene queue memory leak
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/llvmpipe/lp_setup.c2
1 files changed, 2 insertions, 0 deletions
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 );