summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/llvmpipe
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2010-04-28 15:22:43 -0600
committerBrian Paul <brianp@vmware.com>2010-04-28 15:25:50 -0600
commitbdf753a858a8431f25bba98f8e77cab1ae03808a (patch)
treef6cebcd1cfead58222ebbd19931e174a1573f90c /src/gallium/drivers/llvmpipe
parent0728db86bc8d4e9223aad56d0848f1fc4cb95f13 (diff)
llvmpipe: fix scene queue memory leak
Diffstat (limited to 'src/gallium/drivers/llvmpipe')
-rw-r--r--src/gallium/drivers/llvmpipe/lp_rast.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_rast.c b/src/gallium/drivers/llvmpipe/lp_rast.c
index e2c1b6d5cb..a00a592f2f 100644
--- a/src/gallium/drivers/llvmpipe/lp_rast.c
+++ b/src/gallium/drivers/llvmpipe/lp_rast.c
@@ -944,6 +944,8 @@ void lp_rast_destroy( struct lp_rasterizer *rast )
/* for synchronizing rasterization threads */
pipe_barrier_destroy( &rast->barrier );
+ lp_scene_queue_destroy(rast->full_scenes);
+
FREE(rast);
}