[PATCH v2 i-g-t 0/1] tests/intel/xe_eudebug_online: Fix run_online_client memory leak
Dominik Karol Piątkowski
dominik.karol.piatkowski at intel.com
Thu Dec 5 10:26:12 UTC 2024
In run_online_client, buf is created by create_uc_buf, that calls
intel_buf_create_full, that callocs and initializes it. This memory is
never freed. Fix it by adding missing intel_buf_destroy.
Signed-off-by: Dominik Karol Piątkowski <dominik.karol.piatkowski at intel.com>
v2: Use intel_buf_destroy instead of free (Dominik Grzegorzek)
Dominik Karol Piątkowski (1):
tests/intel/xe_eudebug_online: Fix run_online_client memory leak
tests/intel/xe_eudebug_online.c | 2 ++
1 file changed, 2 insertions(+)
--
2.34.1
More information about the igt-dev
mailing list