diff options
author | Axel Davy <axel.davy@ens.fr> | 2016-10-12 19:10:53 +0200 |
---|---|---|
committer | Axel Davy <axel.davy@ens.fr> | 2016-10-13 21:16:35 +0200 |
commit | 0717cd975d85eb04389d84c54b796863aa537cf0 (patch) | |
tree | 8c78368f226e95dcc4c09ef0f23d5355ecc220d1 /m4/ax_gcc_builtin.m4 | |
parent | 98b8ad61c6bc531646bec1e773b0f57f99e47159 (diff) | |
download | external_mesa3d-0717cd975d85eb04389d84c54b796863aa537cf0.zip external_mesa3d-0717cd975d85eb04389d84c54b796863aa537cf0.tar.gz external_mesa3d-0717cd975d85eb04389d84c54b796863aa537cf0.tar.bz2 |
st/nine: Fix possible segfault in surface ctor
Regression introduced by
ba0274c7d6c3b77a36bbe1b444f427b0c873e2f3
Check the resource exists before assigning it
a flag (and use This->base.resource instead
of pResource, since the former may have a newly
allocate resource, while the latter would be
NULL).
This should reintroduce the behaviour of previous
code.
Signed-off-by: Axel Davy <axel.davy@ens.fr>
Diffstat (limited to 'm4/ax_gcc_builtin.m4')
0 files changed, 0 insertions, 0 deletions