projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e6e1c3f
)
disable freeing of fp->func, see comment (bug 5131)
author
Brian Paul
<brian.paul@tungstengraphics.com>
Tue, 22 Nov 2005 23:27:27 +0000
(23:27 +0000)
committer
Brian Paul
<brian.paul@tungstengraphics.com>
Tue, 22 Nov 2005 23:27:27 +0000
(23:27 +0000)
src/mesa/tnl/t_vertex.c
patch
|
blob
|
history
diff --git
a/src/mesa/tnl/t_vertex.c
b/src/mesa/tnl/t_vertex.c
index bed3cf1879c01bef3eb00345b65c44baac7253e8..ab606de705310f727ffbcbc87d24d6a1007004e9 100644
(file)
--- a/
src/mesa/tnl/t_vertex.c
+++ b/
src/mesa/tnl/t_vertex.c
@@
-494,7
+494,14
@@
void _tnl_free_vertices( GLcontext *ctx )
for (fp = vtx->fastpath ; fp ; fp = tmp) {
tmp = fp->next;
FREE(fp->attr);
- FREE((void *)fp->func);
+ /* XXX Can we be sure that fp->func points to memory that was
+ * allocated with _mesa_exec_malloc()? I think it's possible that
+ * the pointer can point to an ordinary C function.
+ * Just disable this for the time being.
+ */
+#if 0
+ _mesa_exec_free((void *) fp->func);
+#endif
FREE(fp);
}