]> git.baikalelectronics.ru Git - kernel.git/commit
staging: rtl8192u: fix multiple memory leaks on error path
authorNavid Emamdoost <navid.emamdoost@gmail.com>
Fri, 20 Sep 2019 02:51:33 +0000 (21:51 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 30 Sep 2019 19:58:00 +0000 (21:58 +0200)
commit2ab0b15dbe8808d6b18e9397bd59245cd7d69981
tree4651fc8501aa4393431b86eb93bfd07712104822
parent0372788700d052df7a4daa0e34510a34499f258b
staging: rtl8192u: fix multiple memory leaks on error path

In rtl8192_tx on error handling path allocated urbs and also skb should
be released.

Signed-off-by: Navid Emamdoost <navid.emamdoost@gmail.com>
Link: https://lore.kernel.org/r/20190920025137.29407-1-navid.emamdoost@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192u/r8192U_core.c