-
由 Tony Battersby 提交于
Fix a minor memory leak when there is an error opening a /dev/sg device. Fixes: cc833acb ("sg: O_EXCL and other lock handling") Cc: <stable@vger.kernel.org> Reviewed-by: NEwan D. Milne <emilne@redhat.com> Signed-off-by: NTony Battersby <tonyb@cybernetics.com> Reviewed-by: NBart Van Assche <bart.vanassche@wdc.com> Signed-off-by: NMartin K. Petersen <martin.petersen@oracle.com>
c170e5a8