diff options
| author | Yongzhi Liu <[email protected]> | 2024-05-23 12:14:34 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2024-06-04 16:08:39 +0000 |
| commit | 77427e3d5c353e3dd98c7c0af322f8d9e3131ace (patch) | |
| tree | 44b677ba13efc27681e463a5e666bf77ce8cd1da /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
| parent | misc: microchip: pci1xxxx: fix double free in the error handling of gp_aux_bu... (diff) | |
| download | kernel-77427e3d5c353e3dd98c7c0af322f8d9e3131ace.tar.gz kernel-77427e3d5c353e3dd98c7c0af322f8d9e3131ace.zip | |
misc: microchip: pci1xxxx: Fix a memory leak in the error handling of gp_aux_bus_probe()
There is a memory leak (forget to free allocated buffers) in a
memory allocation failure path.
Fix it to jump to the correct error handling code.
Fixes: 393fc2f5948f ("misc: microchip: pci1xxxx: load auxiliary bus driver for the PIO function in the multi-function endpoint of pci1xxxx device.")
Signed-off-by: Yongzhi Liu <[email protected]>
Reviewed-by: Kumaravel Thiagarajan <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions
