diff options
author | Zack Rusin <[email protected]> | 2008-04-30 14:05:49 -0400 |
---|---|---|
committer | Zack Rusin <[email protected]> | 2008-04-30 15:04:58 -0400 |
commit | 653da2d0698d18a8d3dcad1b1590437dee7bb403 (patch) | |
tree | e1247a33355a5936f4c72ba9c2900118212b9798 | |
parent | 026e31a068981724fb0c98f6d1fc87d086fd2da6 (diff) |
plug a memleak, destroy setup context
-rw-r--r-- | src/gallium/drivers/softpipe/sp_prim_setup.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/softpipe/sp_prim_setup.c b/src/gallium/drivers/softpipe/sp_prim_setup.c index feb35d492a3..1cf9ffa632f 100644 --- a/src/gallium/drivers/softpipe/sp_prim_setup.c +++ b/src/gallium/drivers/softpipe/sp_prim_setup.c @@ -150,6 +150,8 @@ static void reset_stipple_counter( struct draw_stage *stage ) static void render_destroy( struct draw_stage *stage ) { + struct setup_stage *ssetup = setup_stage(stage); + setup_destroy_context(ssetup->setup); FREE( stage ); } |