mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 16:16:15 -04:00
qcacld-3.0: Fix memory leak
To fix pmo_ctx memory leak by call component_deinit in failure path of __hdd_module_init. Change-Id: I66ee4566e805c9510d6dec219dc397bc7191952c CRs-Fixed: 2131441
This commit is contained in:
parent
0742e5c96a
commit
9fcc72168e
1 changed files with 1 additions and 0 deletions
|
|
@ -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();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue