From: Chia-I Wu Date: Fri, 28 May 2010 05:07:34 +0000 (+0800) Subject: st/vega: Use FREE. X-Git-Tag: mesa-7.9-rc1~2649 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0f37f242dd79d8e60b674d6c47e1c305de3a1950;p=platform%2Fupstream%2Fmesa.git st/vega: Use FREE. Match MALLOC with FREE. Otherwise, it causes weird segfaults when built with memory debugging. --- diff --git a/src/gallium/state_trackers/vega/util_array.h b/src/gallium/state_trackers/vega/util_array.h index 4343dfe..b2d22f4 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)