[RAMEN9610-19755]wlbt: Resource Leak prevent issue in APF
authorSrishti Piplani <srishti.p@samsung.com>
Thu, 5 Sep 2019 09:50:05 +0000 (15:20 +0530)
committerKim Gunho <gunho.kim@samsung.com>
Mon, 9 Sep 2019 11:15:16 +0000 (20:15 +0900)
commit6eb3e4e9eb402e0b5b4221d0f9cddd5eb92e9d09
tree118243642e13d8d420bf6607845793189823de64
parent79bdf76c559931959367b67b039654ae644fc516
[RAMEN9610-19755]wlbt: Resource Leak prevent issue in APF

Free the program variable, before doing a kmalloc,
in order to fix resource leak prevent issue.

Change-Id: I841c958401abeb7a359e8dacae6da530ee4a39a9
SCSC-Bug-Id: HOST-10865
Signed-off-by: Srishti Piplani <srishti.p@samsung.com>
Signed-off-by: Kim Gunho <gunho.kim@samsung.com>
drivers/net/wireless/scsc/nl80211_vendor.c