projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5036325
)
draw: avoid leaking tokens when building pstipple fragment shader
author
Keith Whitwell
<keithw@vmware.com>
Tue, 2 Jun 2009 02:48:40 +0000
(19:48 -0700)
committer
Keith Whitwell
<keithw@vmware.com>
Tue, 2 Jun 2009 03:35:38 +0000
(20:35 -0700)
Add missing FREE() after MALLOC().
src/gallium/auxiliary/draw/draw_pipe_pstipple.c
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/draw/draw_pipe_pstipple.c
b/src/gallium/auxiliary/draw/draw_pipe_pstipple.c
index 9287fc130eeabaf45a44b0cbb5c0c94dfd81f6aa..bc63b700dea9817df6fc0b832a71359a5c89ea80 100644
(file)
--- 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;
}