llvmpipe: fix scene queue memory leak
authorBrian Paul <brianp@vmware.com>
Wed, 28 Apr 2010 21:22:43 +0000 (15:22 -0600)
committerBrian Paul <brianp@vmware.com>
Wed, 28 Apr 2010 21:25:50 +0000 (15:25 -0600)
src/gallium/drivers/llvmpipe/lp_rast.c

index e2c1b6d5cbaccd56d5bbdf36ecb04e246f34b247..a00a592f2fe120d6fe4b7f272a1244f7eb02daef 100644 (file)
@@ -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);
 }