Skip to content
Commit 4eea5332 authored by Juan Vazquez's avatar Juan Vazquez Committed by Wei Liu
Browse files

scsi: storvsc: Fix storvsc_queuecommand() memory leak



Fix possible memory leak in error path of storvsc_queuecommand() when
DMA mapping fails.

Signed-off-by: default avatarJuan Vazquez <juvazq@linux.microsoft.com>
Reviewed-by: default avatarTianyu Lan <Tianyu.Lan@microsoft.com>
Link: https://lore.kernel.org/r/20220109001758.6401-1-juvazq@linux.microsoft.com
Signed-off-by: default avatarWei Liu <wei.liu@kernel.org>
parent 51500b71
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