diff options
author | Nicolai Hähnle <[email protected]> | 2016-11-03 10:23:17 +0100 |
---|---|---|
committer | Nicolai Hähnle <[email protected]> | 2016-11-04 10:28:08 +0100 |
commit | aef7eb4cacbb241dc895f3e08dba4c91052a98a8 (patch) | |
tree | b5df99c8105711414533ef36a66bdba2d37cca1b /src/gallium | |
parent | 8ce7ef75f5d164bfe9eae23749e83b6a88e2b270 (diff) |
glsl/cache: correct asprintf error handling
From the manpage of asprintf:
"If memory allocation wasn't possible, or some other error occurs,
these functions will return -1, and the contents of strp are
undefined."
Reviewed-by: Iago Toral Quiroga <[email protected]>
Reviewed-by: Edward O'Callaghan <[email protected]>
Diffstat (limited to 'src/gallium')
0 files changed, 0 insertions, 0 deletions