diff options
author | Keith Whitwell <keithw@vmware.com> | 2009-06-01 19:48:40 -0700 |
---|---|---|
committer | Keith Whitwell <keithw@vmware.com> | 2009-06-01 20:35:38 -0700 |
commit | 69a765df1c3bf6acc549a5a6a047bbde16988721 (patch) | |
tree | 18180e56676ff59ae32d10d7120dd48007eb3d4b | |
parent | 503632557e8904b775e1b6f3f84eb41bda3af122 (diff) |
draw: avoid leaking tokens when building pstipple fragment shader
Add missing FREE() after MALLOC().
-rw-r--r-- | src/gallium/auxiliary/draw/draw_pipe_pstipple.c | 1 |
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 9287fc130e..bc63b700de 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; } |