summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/util/u_blitter.h
diff options
context:
space:
mode:
authorEric Engestrom <[email protected]>2016-07-12 22:48:28 +0100
committerEmil Velikov <[email protected]>2016-08-24 11:35:05 +0100
commit9411eb67ecebfc76c909ca81b09e6e7fe08ac8eb (patch)
tree51fefa514988b23a6bdb26e0668b335cf424d1be /src/gallium/auxiliary/util/u_blitter.h
parent2f86582b92425d819aaeaf5d86b71e8460944093 (diff)
gallium/cso: avoid unnecessary null dereference
The label `out:` calls `destroy()` which dereferences `ctx`. This is unnecessary as there is nothing to destroy. Immediately return instead. CovID: 1258255 Signed-off-by: Eric Engestrom <[email protected]> Reviewed-by: Nicolai Hähnle <[email protected]> Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/util/u_blitter.h')
0 files changed, 0 insertions, 0 deletions