Commit 4e8e4918 authored by Elie Tournier's avatar Elie Tournier Committed by Jakob Bornecrantz

vtest: Fix renderer memory leaks

Reviewed-by: Gurchetan Singh's avatarGurchetan Singh <>
Signed-off-by: default avatarElie Tournier <>
Signed-off-by: Jakob Bornecrantz's avatarJakob Bornecrantz <>
parent 49377fac
......@@ -448,6 +448,7 @@ int vtest_create_resource2(UNUSED uint32_t length_dw)
iovec->iov_len = res_create_buf[VCMD_RES_CREATE2_DATA_SIZE];
iovec->iov_base = calloc(1, iovec->iov_len);
if (!iovec->iov_base) {
return -ENOMEM;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment