From: Michal Krol Date: Thu, 14 Feb 2008 19:48:40 +0000 (+0100) Subject: gallium: Fix memory leak. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=742c5d3e1ba1455e6aca8454f4b7e146b27fbbe3;p=mesa.git gallium: Fix memory leak. --- diff --git a/src/mesa/pipe/draw/draw_stipple.c b/src/mesa/pipe/draw/draw_stipple.c index fb8b56e84cc..7e0e2137b76 100644 --- a/src/mesa/pipe/draw/draw_stipple.c +++ b/src/mesa/pipe/draw/draw_stipple.c @@ -212,6 +212,7 @@ passthrough_tri(struct draw_stage *stage, struct prim_header *header) static void stipple_destroy( struct draw_stage *stage ) { + draw_free_tmps( stage ); FREE( stage ); }