freedreno/perfcntrs: fix fd leak
authorEric Engestrom <eric@engestrom.ch>
Sun, 2 Feb 2020 17:04:29 +0000 (17:04 +0000)
committerMarge Bot <eric+marge@anholt.net>
Tue, 4 Feb 2020 19:26:40 +0000 (19:26 +0000)
commitcae609326678bd00702261f756ce0c16efd530d4
treeb6f9780eecb583207f77bca0970120b3e5b350cf
parent8a2c507a8abe2537df5bc1f4847c40e6d4314dec
freedreno/perfcntrs: fix fd leak

CoverityID: 11105681458071
Fixes: 5a13507164a26fc796f0 ("freedreno/perfcntrs: add fdperf")
Signed-off-by: Eric Engestrom <eric@engestrom.ch>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3671>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3671>
src/freedreno/perfcntrs/fdperf.c