commit | 67d8d465e649739fd53839dfffdbbb945572ce0f | [log] [tgz] |
---|---|---|
author | Oliver Neukum <oneukum@suse.de> | Thu Nov 20 14:54:35 2014 +0100 |
committer | chrmhoffmann <chrmhoffmann@gmail.com> | Sun Apr 05 10:21:03 2020 +0200 |
tree | 35859a07c63216fcd868225bc60ea0da90b0ad7a | |
parent | 270e8f3b6a5ab071b740ed0b216a886e4768a93f [diff] |
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> Signed-off-by: Zefan Li <lizefan@huawei.com>