llvmpipe: fix CALLOC vs. free mismatches
authorRoland Scheidegger <sroland@vmware.com>
Fri, 6 Sep 2019 02:12:06 +0000 (04:12 +0200)
committerRoland Scheidegger <sroland@vmware.com>
Fri, 6 Sep 2019 16:31:34 +0000 (18:31 +0200)
commitde1c89fd9361b807859e312524dfcec8b71c1656
tree3f641af9f5cf01af064c87b19bac700555a310dd
parent0bf51b6941b8ad4e122772525c2caf6896bfc0cb
llvmpipe: fix CALLOC vs. free mismatches

Should fix some issues we're seeing. And use REALLOC instead of realloc.

Reviewed-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
src/gallium/drivers/llvmpipe/lp_cs_tpool.c
src/gallium/drivers/llvmpipe/lp_state_cs.c