summaryrefslogtreecommitdiffstats
path: root/drivers/misc/eeprom
diff options
context:
space:
mode:
authorAnton Vasilyev <vasilyev@ispras.ru>2018-07-27 18:45:36 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-08-02 10:35:04 +0200
commit81ae962d7f180c0092859440c82996cccb254976 (patch)
treead28b6d3f0b2ca4e966f4a9d2264026d86f925d6 /drivers/misc/eeprom
parentc8c64b39cf721404d47e7069d7f6d00d03b7f6b4 (diff)
downloadlinux-stable-81ae962d7f180c0092859440c82996cccb254976.tar.gz
linux-stable-81ae962d7f180c0092859440c82996cccb254976.tar.bz2
linux-stable-81ae962d7f180c0092859440c82996cccb254976.zip
misc: ti-st: Fix memory leak in the error path of probe()
Free resources instead of direct return of the error code if kim_probe fails. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Anton Vasilyev <vasilyev@ispras.ru> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc/eeprom')
0 files changed, 0 insertions, 0 deletions