summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/draw
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2009-06-01 19:48:40 -0700
committerKeith Whitwell <[email protected]>2009-06-01 20:35:38 -0700
commit69a765df1c3bf6acc549a5a6a047bbde16988721 (patch)
tree18180e56676ff59ae32d10d7120dd48007eb3d4b /src/gallium/auxiliary/draw
parent503632557e8904b775e1b6f3f84eb41bda3af122 (diff)
draw: avoid leaking tokens when building pstipple fragment shader
Add missing FREE() after MALLOC().
Diffstat (limited to 'src/gallium/auxiliary/draw')
-rw-r--r--src/gallium/auxiliary/draw/draw_pipe_pstipple.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/draw/draw_pipe_pstipple.c b/src/gallium/auxiliary/draw/draw_pipe_pstipple.c
index 9287fc130ee..bc63b700dea 100644
--- a/src/gallium/auxiliary/draw/draw_pipe_pstipple.c
+++ b/src/gallium/auxiliary/draw/draw_pipe_pstipple.c
@@ -358,6 +358,7 @@ generate_pstip_fs(struct pstip_stage *pstip)
pstip->fs->pstip_fs = pstip->driver_create_fs_state(pstip->pipe, &pstip_fs);
+ FREE((void *)pstip_fs.tokens);
return TRUE;
}