st/mesa: replace REALLOC() with realloc()
authorBrian Paul <brianp@vmware.com>
Fri, 19 Oct 2012 20:51:20 +0000 (14:51 -0600)
committerAndreas Boll <andreas.boll.dev@gmail.com>
Sun, 20 Jan 2013 14:08:26 +0000 (15:08 +0100)
commitfb8d6b41d89c6221c8477eab229ecf0750c2c4e0
treefb70d14665bc03c32103522553dbbc9f510d689b
parentb63f8f7906e4bc8a074cee8dbdbcb1c66e90448f
st/mesa: replace REALLOC() with realloc()

We should use the later since we're freeing the memory with free(),
not the gallium FREE() macro.

This fixes a mismatch when using the gallium debug memory functions.

NOTE: This is a candidate for the 9.0 branch.
(cherry picked from commit bb93439873e0f270383d8a802eec79807d32c10a)
src/mesa/state_tracker/st_mesa_to_tgsi.c