In this patch series I fixed 2 memory leaks in rtl8712 driver and made some code improvment. In the fisrt patch I removed redundant branching to improve code speed and make it more straightforward. The folowing 2 pathes fix 2 memory leaks in this driver. The first one fixes memory leak in the error handling path in r871xu_drv_init and the second one fixes memory leak in case of fw load failure. Pavel Skripkin (3): staging: rtl8712: remove redundant check in r871xu_drv_init staging: rtl8712: fix error handling in r871xu_drv_init staging: rtl8712: fix memory leak in rtl871x_load_fw_cb drivers/staging/rtl8712/hal_init.c | 3 +++ drivers/staging/rtl8712/os_intfs.c | 4 ---- drivers/staging/rtl8712/usb_intf.c | 32 ++++++++++++++++-------------- 3 files changed, 20 insertions(+), 19 deletions(-) -- 2.32.0