mirror of
https://github.com/torvalds/linux.git
synced 2024-11-08 05:01:48 +00:00
d913c7439a
Fix a memory leak in the genwqe_pin_mem() error path as called by ioctl GENWQE_PIN_MEM. In case there is an error encountered when mapping memory, the already allocated dma_mapping struct needs to be freed correctly. Detected by Coverity: CID 1162606. Signed-off-by: Christian Engelmayer <cengelma@gmx.at> Acked-by: Frank Haverkamp <haver@linux.vnet.ibm.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
||
---|---|---|
.. | ||
card_base.c | ||
card_base.h | ||
card_ddcb.c | ||
card_ddcb.h | ||
card_debugfs.c | ||
card_dev.c | ||
card_sysfs.c | ||
card_utils.c | ||
genwqe_driver.h | ||
Kconfig | ||
Makefile |