llvmpipe: fix scene queue memory leak
authorBrian Paul <brianp@vmware.com>
Wed, 28 Apr 2010 21:22:27 +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_setup.c

index 6f162482f46296938da24477f67453dec89d36f0..21509560084cbef357801f240ad80e33440691bb 100644 (file)
@@ -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 );