diff options
author | Oliver Neukum <oneukum@suse.de> | 2014-11-20 14:54:35 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-01-16 06:59:32 -0800 |
commit | 7756c314710ceee0336824b3812261c1ae49106f (patch) | |
tree | 0b8f99953885ac7da74cef9d7259364ceaf82429 /fs | |
parent | 0fa799921d850b6e3321cf6bd54c48894c4af927 (diff) | |
download | lwn-7756c314710ceee0336824b3812261c1ae49106f.tar.gz lwn-7756c314710ceee0336824b3812261c1ae49106f.zip |
cdc-acm: memory leak in error case
commit d908f8478a8d18e66c80a12adb27764920c1f1ca upstream.
If probe() fails not only the attributes need to be removed
but also the memory freed.
Reported-by: Ahmed Tamrawi <ahmedtamrawi@gmail.com>
Signed-off-by: Oliver Neukum <oneukum@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions