mesa: Add missing null checks into prog_hash_table.c
authorJuha-Pekka Heikkila <juhapekka.heikkila@gmail.com>
Thu, 13 Feb 2014 14:04:23 +0000 (16:04 +0200)
committerTapani Pälli <tapani.palli@intel.com>
Fri, 30 May 2014 06:22:34 +0000 (09:22 +0300)
commitfb7baafbbf6d4e5d418d93a1a2cd222c3ae3aae6
tree5a80f796486d9a49c6a72ad68c8536904e18bb56
parentc692581ae870f73f93993ba05a4d28ab0ef8e7bd
mesa: Add missing null checks into prog_hash_table.c

Check calloc return values in hash_table_insert() and
hash_table_replace()

Signed-off-by: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/program/prog_hash_table.c