On 06/26/2013 02:57 PM, Ian Romanick wrote:
On 06/26/2013 02:42 PM, Chad Versace wrote:
If allocation fails in intel_miptree_create_layout(), don't proceed to
dereference the miptree. Return an early NULL.

Fixes static analysis error reported by Klocwork.

Note: This is a candidate for the 9.1 branch.
Signed-off-by: Chad Versace <[email protected]>

Reviewed-by: Ian Romanick <[email protected]>

Too bad this didn't land before the split.  The cherry-pick will probably be 
annoying now. :(  Alas.


No problem, I already have a cherry-picked it my local 9.1 to save you the 
trouble. Will
push both in tandem, since there's no risk in this patch.

_______________________________________________
mesa-dev mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to