st/vega: Use FREE.

Match MALLOC with FREE.  Otherwise, it causes weird segfaults when built
with memory debugging.
This commit is contained in:
Chia-I Wu
2010-05-28 13:07:34 +08:00
parent a5183a38c2
commit 0f37f242dd
+1 -1
View File
@@ -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)