OSDN Git Service

gallium: Fix memory leak.
authorMichal Krol <michal@tungstengraphics.com>
Thu, 14 Feb 2008 19:48:40 +0000 (20:48 +0100)
committerJosé Fonseca <jrfonseca@tungstengraphics.com>
Fri, 15 Feb 2008 02:30:49 +0000 (11:30 +0900)
src/mesa/pipe/draw/draw_stipple.c

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