progs/util: Exit RawImageGetData early if malloc fails.
authorVinson Lee <vlee@vmware.com>
Fri, 20 Nov 2009 20:11:55 +0000 (12:11 -0800)
committerVinson Lee <vlee@vmware.com>
Fri, 20 Nov 2009 20:11:55 +0000 (12:11 -0800)
commite26135a744f740430e3dc341fa692544ba99c11e
tree030ba2384bd7ea47b5a243e25246ea8715a9f083
parentc88b18a4df753205321ce1f7ddcd99244b670a1e
progs/util: Exit RawImageGetData early if malloc fails.

Prevents a null pointer deference later on.
progs/util/readtex.c