diff options
author | Lionel Landwerlin <[email protected]> | 2016-11-09 16:33:51 +0000 |
---|---|---|
committer | Lionel Landwerlin <[email protected]> | 2016-11-16 08:56:08 +0000 |
commit | 25a8e8bbd5e98abfd263bfc44f010b40747c04cc (patch) | |
tree | e76c687bd1813635ce451a277dfecb6e2923f2a7 /src/gallium/tools | |
parent | 615ccf44cf0305976b15bad48252943802e41345 (diff) |
i965: miptree: prevent potential NULL pointer access
If the mcs buffer allocation fails we might get a NULL pointer. This
was reported by Coverity and should only happen if we run out of
memory.
v2: return failure at the point of allocation (Chris)
CID: 1394290
Signed-off-by: Lionel Landwerlin <[email protected]>
Diffstat (limited to 'src/gallium/tools')
0 files changed, 0 insertions, 0 deletions