[Mesa-dev] [PATCH 1/4] dri_util: Use calloc to allocate __DRIcontext

Eric Anholt eric at anholt.net
Fri Sep 28 13:21:17 PDT 2012


Ian Romanick <idr at freedesktop.org> writes:

> From: Ian Romanick <ian.d.romanick at intel.com>
>
> The __DRIcontext contains some pointers, and some drivers check for them to be
> NULL in some failure paths.  Instead of sprinkling NULL assignments across the
> various drivers, just zero out the whole thing.

Series is:

Reviewed-by: Eric Anholt <eric at anholt.net>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20120928/29dfb549/attachment.pgp>


More information about the mesa-dev mailing list