From: Brian Date: Sat, 22 Mar 2008 15:12:27 +0000 (-0600) Subject: gallium: fix mem leak (fee pstipple stage) X-Git-Tag: 062012170305~17580^2~390^2~2141 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=28b3b078959db8a1e60adfb66f35ceb04d4f414d;p=profile%2Fivi%2Fmesa.git gallium: fix mem leak (fee pstipple stage) --- diff --git a/src/gallium/auxiliary/draw/draw_context.c b/src/gallium/auxiliary/draw/draw_context.c index 4cca965..41da93c 100644 --- a/src/gallium/auxiliary/draw/draw_context.c +++ b/src/gallium/auxiliary/draw/draw_context.c @@ -113,6 +113,8 @@ void draw_destroy( struct draw_context *draw ) draw->pipeline.aaline->destroy( draw->pipeline.aaline ); if (draw->pipeline.aapoint) draw->pipeline.aapoint->destroy( draw->pipeline.aapoint ); + if (draw->pipeline.pstipple) + draw->pipeline.pstipple->destroy( draw->pipeline.pstipple ); if (draw->pipeline.rasterize) draw->pipeline.rasterize->destroy( draw->pipeline.rasterize ); tgsi_exec_machine_free_data(&draw->machine);