[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)
committerCosmin Tanislav <demonsingur@gmail.com>
Mon, 22 Apr 2024 17:23:36 +0000 (20:23 +0300)
commitc32e16d2fca272e24ea1a0a9a28c7be455532035
tree8cc74e3a254cd6f0b186d418450daf6f31cd3c8c
parent6ec3a6fe5157adbea3eb16806159ecb039a2d273
[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