i965: fix mem leak in error path
authorEric Engestrom <eric.engestrom@intel.com>
Fri, 9 Aug 2019 22:41:53 +0000 (23:41 +0100)
committerEric Engestrom <eric.engestrom@intel.com>
Sat, 10 Aug 2019 11:14:56 +0000 (12:14 +0100)
commitd7eb40962bbf62b561cd51be94257786b2d2bbcc
tree4ada2014f194459fbd8a9d2aed1a3a6174b029ec
parent1c82fa0a92538e7673a6ea4bb6088c39059b3390
i965: fix mem leak in error path

Fixes: 8ae6667992ccca41d088 ("intel/perf: move query_object into perf")
Signed-off-by: Eric Engestrom <eric.engestrom@intel.com>
Reviewed-by: Mark Janes <mark.a.janes@intel.com>
src/mesa/drivers/dri/i965/brw_performance_query.c