cnss_prealloc: pre-alloc memory leak check on probe failure and remove

After wlan host driver probe failure and driver unload check the
memory leak and reset the memory pool.

CRs-Fixed: 2027407
Change-Id: Id6e413416ec7ea1d1bf0e69aab7eccb06de753d7
Signed-off-by: Hardik Kantilal Patel <hkpatel@codeaurora.org>
Signed-off-by: Yuanyuan Liu <yuanliu@codeaurora.org>
1 file changed