OSDN Git Service
(root)
/
android-x86
/
external-mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a5183a3
)
st/vega: Use FREE.
author
Chia-I Wu
<olv@lunarg.com>
Fri, 28 May 2010 05:07:34 +0000
(13:07 +0800)
committer
Chia-I Wu
<olv@lunarg.com>
Sun, 30 May 2010 03:11:27 +0000
(11:11 +0800)
Match MALLOC with FREE. Otherwise, it causes weird segfaults when built
with memory debugging.
src/gallium/state_trackers/vega/util_array.h
patch
|
blob
|
history
diff --git
a/src/gallium/state_trackers/vega/util_array.h
b/src/gallium/state_trackers/vega/util_array.h
index
4343dfe
..
b2d22f4
100644
(file)
--- a/
src/gallium/state_trackers/vega/util_array.h
+++ b/
src/gallium/state_trackers/vega/util_array.h
@@
-65,7
+65,7
@@
static INLINE void array_destroy(struct array *array)
{
if (array)
free(array->data);
-
free
(array);
+
FREE
(array);
}
static INLINE void array_resize(struct array *array, int num)