summaryrefslogtreecommitdiffstats
path: root/src/mesa/program/program.c
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2014-09-02 09:21:18 +1000
committerDave Airlie <[email protected]>2014-09-02 16:42:24 +1000
commit021e84f292ef4bb26631aec41a31c025ada1e8fd (patch)
treeb86c47e79826c5656eb89bef2abecf462ec4ebc6 /src/mesa/program/program.c
parenta75fee78c680054aeb1b96ec25e02dd36286fed5 (diff)
mesa/program_cache: calloc the correct size for the cache.
Coverity reported this, and I think this is the right solution, since cache->items is struct cache_item ** not struct cache_item *, we also realloc it using struct cache_item * at some point. Reviewed-by: Tapani Pälli <[email protected]> Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/mesa/program/program.c')
0 files changed, 0 insertions, 0 deletions