Skip to content
Commit 1a2b227f authored by Ernestas Kulik's avatar Ernestas Kulik Committed by Emil Velikov
Browse files

vc4: Fix leak in HW queries error path



Reported by Coverity: in the case where there exist hardware and
non-hardware queries, the code does not jump to err_free_query and leaks
the query.

CID: 1430194
Signed-off-by: default avatarErnestas Kulik <ernestas.kulik@gmail.com>
Fixes: 9ea90ffb ("broadcom/vc4: Add support for HW perfmon")
(cherry picked from commit f6e49d5a)
parent 6beaa2d7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment