From: Brian Paul Date: Wed, 28 Apr 2010 21:22:43 +0000 (-0600) Subject: llvmpipe: fix scene queue memory leak X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bdf753a858a8431f25bba98f8e77cab1ae03808a;p=mesa.git llvmpipe: fix scene queue memory leak --- diff --git a/src/gallium/drivers/llvmpipe/lp_rast.c b/src/gallium/drivers/llvmpipe/lp_rast.c index e2c1b6d5cba..a00a592f2fe 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); }