diff options
author | Aleksander Morgado <[email protected]> | 2017-07-06 11:35:37 +0200 |
---|---|---|
committer | Christian Gmeiner <[email protected]> | 2017-07-06 21:06:25 +0200 |
commit | a6893a50c8ae5b68e4175366dac718ee9f6fa9d1 (patch) | |
tree | dfe893a0f2476a5053b83e7276e86e8c8518d081 /src/mapi/u_current.c | |
parent | c5d0dc7fa5566941a49ede8c83a0cfe0a33a3d7f (diff) |
etnaviv: don't dereference etna_resource pointer if allocation fails
The check for the pointer being non-NULL was being done too late.
Signed-off-by: Aleksander Morgado <[email protected]>
Reviewed-by: Christian Gmeiner <[email protected]>
Diffstat (limited to 'src/mapi/u_current.c')
0 files changed, 0 insertions, 0 deletions