aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/prog_array_init.c
diff options
context:
space:
mode:
authorChristoph Hellwig <[email protected]>2022-09-23 11:26:39 +0200
committerAlex Williamson <[email protected]>2022-10-04 12:06:58 -0600
commit98828955971363e838149105c268b1fad905f15b (patch)
tree6b7dc0a5e4572008f1c1e91c99db3ab732682b65 /tools/testing/selftests/bpf/prog_tests/prog_array_init.c
parentf423fa1bc9fe1978e6b9f54927411b62cb43eb04 (diff)
drm/i915/gvt: fix a memory leak in intel_gvt_init_vgpu_types
gvt->types needs to be freed on error. Fixes: bc90d097ae14 ("drm/i915/gvt: define weight according to vGPU type") Reported-by: Kevin Tian <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]> Reviewed-by: Jason Gunthorpe <[email protected]> Reviewed-by: Kevin Tian <[email protected]> Reviewed-by: Zhenyu Wang <[email protected]> Link: https://lore.kernel.org/r/[email protected] [aw: Correct fixes commit ID as reported by Stephen Rothwell] Signed-off-by: Alex Williamson <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions