diff options
author | Vinson Lee <[email protected]> | 2020-05-26 15:54:06 -0700 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-05-30 01:04:30 +0000 |
commit | f047d585ee472a314d4ad5da4dffa5e7c2a42eb5 (patch) | |
tree | 4c31568ee1e4f240c33ea5b7693ba8a8c90a187c /src/util/format/u_format_zs.c | |
parent | bccb3deee2995e68a7f8a63d857f2cd298ff8361 (diff) |
etnaviv: Fix memory leak on error path.
Fix warning reported by Coverity Scan.
Resource leak (RESOURCE_LEAK)
leaked_storage: Variable pq going out of scope leaks the storage it
points to.
Suggested-by: Christian Gmeiner <[email protected]>
Fixes: eed5a009897a ("etnaviv: convert perfmon queries to acc queries")
Signed-off-by: Vinson Lee <[email protected]>
Reviewed-by: Christian Gmeiner <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5220>
Diffstat (limited to 'src/util/format/u_format_zs.c')
0 files changed, 0 insertions, 0 deletions