pp: Reorder calloc to avoid memory leak on error path.
authorVinson Lee <vlee@vmware.com>
Fri, 4 Nov 2011 03:55:10 +0000 (20:55 -0700)
committerVinson Lee <vlee@vmware.com>
Sun, 6 Nov 2011 05:06:35 +0000 (22:06 -0700)
commit9288253051feb05ba155e4f939284360fdd70b15
treecf3d9cfa9587aaeb80944b024678506131671739
parente532c710c60f0895e32af6562ac2855aa7d5eb63
pp: Reorder calloc to avoid memory leak on error path.

Fixes Coverity resource leak defect.

Reviewed-by: Brian Paul <brianp@vmware.com>
src/gallium/auxiliary/postprocess/pp_mlaa.c