postprocess: Check ppq is null before calling pp_free_bos.
authorVinson Lee <vlee@freedesktop.org>
Sat, 3 Aug 2013 06:39:24 +0000 (23:39 -0700)
committerVinson Lee <vlee@freedesktop.org>
Tue, 6 Aug 2013 00:27:38 +0000 (17:27 -0700)
commit8294d969e1c2154721eb34dff5848b64f4604308
tree866617dcc734492bfedc97d126759713433a9f5f
parenta9cb914f49fa3810b15eb9df9f6209a16fafa491
postprocess: Check ppq is null before calling pp_free_bos.

pp_free_bos dereferences ppq without a null check.

Fixes "Dereference before null check" defect reported by Coverity.

Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: Brian Paul <brianp@vmware.com>
src/gallium/auxiliary/postprocess/pp_init.c