projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8638e3a
)
mesa/st: Free st_translate with FREE macro.
author
Brian Paul
<brianp@vmware.com>
Fri, 17 Apr 2015 14:14:23 +0000
(15:14 +0100)
committer
Jose Fonseca
<jfonseca@vmware.com>
Fri, 17 Apr 2015 14:14:23 +0000
(15:14 +0100)
To match CALLOC_STRUCT macro.
Fixes memory corruption on Windows when u_memory's memory debugging is
enabled.
Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
src/mesa/state_tracker/st_glsl_to_tgsi.cpp
patch
|
blob
|
history
diff --git
a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp
b/src/mesa/state_tracker/st_glsl_to_tgsi.cpp
index fa390c988599d71f585267c4841263c9b30704fb..93671ba9cc044f16c2943377ef804e681ba89ccb 100644
(file)
--- a/
src/mesa/state_tracker/st_glsl_to_tgsi.cpp
+++ b/
src/mesa/state_tracker/st_glsl_to_tgsi.cpp
@@
-5365,7
+5365,7
@@
out:
debug_printf("%s: translate error flag set\n", __func__);
}
-
free
(t);
+
FREE
(t);
}
return ret;