Christian Engelmayer d913c7439a misc: genwqe: Fix potential memory leak when pinning memory
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>
2014-02-07 15:24:31 -08:00
..
2014-02-07 08:16:14 -08:00
2013-05-28 12:02:13 +02:00
2013-08-27 08:28:01 -07:00
2012-11-21 12:53:32 -08:00
2013-12-18 16:51:15 -08:00
2013-03-02 08:52:17 -06:00
2013-12-18 16:51:15 -08:00