To fix pmo_ctx memory leak by call component_deinit in failure path of __hdd_module_init. Change-Id: I66ee4566e805c9510d6dec219dc397bc7191952c CRs-Fixed: 2131441
@@ -11291,6 +11291,7 @@ static int __hdd_module_init(void)
return 0;
out:
qdf_wake_lock_destroy(&wlan_wake_lock);
+ component_deinit();
dispatcher_deinit();
hdd_deinit();