diff options
author | Timothy Arceri <[email protected]> | 2017-07-26 11:11:00 +1000 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2017-08-08 15:56:12 +1000 |
commit | da10065d2b9b78fcb9446a4626343352cf30add0 (patch) | |
tree | a0a1fbdb3f829bca78c9ec10c6d5dfe17cb9028b /src/mesa/main/api_validate.h | |
parent | 8614679e78186482cc7ff84af83acdd29e359086 (diff) |
mesa: add NULL checking to free_shared_state()
This will allow us to call this function from
_mesa_alloc_shared_state() in the case that we run out of memory
part way through allocating the state.
Reviewed-by: Samuel Pitoiset <[email protected]>
Diffstat (limited to 'src/mesa/main/api_validate.h')
0 files changed, 0 insertions, 0 deletions