Files
twx-linux/drivers
Tony Battersby 6ff21107ba scsi: sg: fix minor memory leak in error path
commit c170e5a8d2 upstream.

Fix a minor memory leak when there is an error opening a /dev/sg device.

Fixes: cc833acbee ("sg: O_EXCL and other lock handling")
Cc: <stable@vger.kernel.org>
Reviewed-by: Ewan D. Milne <emilne@redhat.com>
Signed-off-by: Tony Battersby <tonyb@cybernetics.com>
Reviewed-by: Bart Van Assche <bart.vanassche@wdc.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-08-06 16:24:42 +02:00
..
2018-08-06 16:24:36 +02:00
2018-07-22 14:25:52 +02:00
…
…
…
…
…
…
2018-06-16 09:54:26 +02:00
…
…
2018-06-13 16:15:28 +02:00
…
…
…
…
…
2018-07-25 10:18:17 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…