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 fb8b56e84cc1068031fd10289286b9ae5a8df974..7e0e2137b7674cfa4e7b9b8dc50a0c90118a512d 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 );
 }