diff options
author | michal <michal@michal-laptop.(none)> | 2007-10-27 18:53:38 +0100 |
---|---|---|
committer | michal <michal@michal-laptop.(none)> | 2007-10-27 19:04:20 +0100 |
commit | f93b9dc09a8f9289d7bd5c0f99c935f28016691e (patch) | |
tree | 0df34e15a9b10d76ca43517c7cdc18157651914c /src/mesa/pipe/softpipe/sp_quad_fs.c | |
parent | a846d7d0273e879371b69f1bbcb8a6698a24a903 (diff) |
Use FREE instead of free. Fix newlines.
Diffstat (limited to 'src/mesa/pipe/softpipe/sp_quad_fs.c')
-rw-r--r-- | src/mesa/pipe/softpipe/sp_quad_fs.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/mesa/pipe/softpipe/sp_quad_fs.c b/src/mesa/pipe/softpipe/sp_quad_fs.c index 43c4d58ac6..81e405d3db 100644 --- a/src/mesa/pipe/softpipe/sp_quad_fs.c +++ b/src/mesa/pipe/softpipe/sp_quad_fs.c @@ -198,7 +198,11 @@ static void shade_begin(struct quad_stage *qs) static void shade_destroy(struct quad_stage *qs) { - free( qs ); + struct quad_shade_stage *qss = (struct quad_shade_stage *) qs; + + FREE( qss->inputs ); + FREE( qss->outputs ); + FREE( qs ); } |