summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2010-05-28 13:07:34 +0800
committerChia-I Wu <[email protected]>2010-05-30 11:11:27 +0800
commit0f37f242dd79d8e60b674d6c47e1c305de3a1950 (patch)
tree5c3308c0ed1786181d3148aaa9d90df7014bf20f /src/gallium
parenta5183a38c293249dad36a7230ff872ea7485eee0 (diff)
st/vega: Use FREE.
Match MALLOC with FREE. Otherwise, it causes weird segfaults when built with memory debugging.
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/state_trackers/vega/util_array.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/vega/util_array.h b/src/gallium/state_trackers/vega/util_array.h
index 4343dfe36e2..b2d22f476ee 100644
--- 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)