[965] Fix potential segfaults from bad realloc.
authorEric Anholt <eric@anholt.net>
Thu, 17 Jan 2008 19:25:04 +0000 (11:25 -0800)
committerEric Anholt <eric@anholt.net>
Thu, 17 Jan 2008 19:46:58 +0000 (11:46 -0800)
commite747e9a072c826f803407c03932adcee7f16cb83
tree462d22bc1e7fd5fe5c6426f2c759034bb91a4cef
parentc9b1fef0c9c5018efd825c42782f19ad0618696a
[965] Fix potential segfaults from bad realloc.

C has no order of evaluation restrictions on function arguments, so we
attempted to realloc from new-size to new-size.
src/mesa/drivers/dri/i965/brw_vs_tnl.c