diff options
author | Ian Romanick <[email protected]> | 2012-09-26 11:08:11 -0700 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2012-09-28 15:05:24 -0700 |
commit | f93cb0bebb10e3e3e5df099be51021b211650356 (patch) | |
tree | 11503f91f459119b01da6c796c1427155fa86427 /doxygen/header_subset.html | |
parent | 4c704e5949ced0cfaa710e492843890d57956199 (diff) |
dri_util: Use calloc to allocate __DRIcontext
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.
NOTE: This is a candidate for the 9.0 branch.
Signed-off-by: Ian Romanick <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
Reviewed-and-tested-by: Kenneth Graunke <[email protected]>
Tested-by: Lu Hua <[email protected]>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=53618
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=54301
Diffstat (limited to 'doxygen/header_subset.html')
0 files changed, 0 insertions, 0 deletions