projects
/
platform
/
core
/
api
/
wifi-manager.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
398575a
)
Fix memory leak while destroying config handle
87/313187/1
author
Anjali Nijhara
<a.nijhara@samsung.com>
Thu, 20 Jun 2024 03:20:23 +0000
(08:50 +0530)
committer
Anjali Nijhara
<a.nijhara@samsung.com>
Thu, 20 Jun 2024 03:20:23 +0000
(08:50 +0530)
Change-Id: Ic2914cd91a8ab624c1c2be67bd06b77e9a3d6737
src/wifi_internal.c
patch
|
blob
|
history
diff --git
a/src/wifi_internal.c
b/src/wifi_internal.c
index 52f4f22388292b846919d83da1cb7df2af32e275..8016431014675e73039250e72f6debe612e4e52a 100644
(file)
--- a/
src/wifi_internal.c
+++ b/
src/wifi_internal.c
@@
-3138,6
+3138,8
@@
void _wifi_remove_from_config_list(wifi_config_s *config)
if (wifi_handle) {
wifi_handle->config_handle_list =
g_slist_remove(wifi_handle->config_handle_list, config);
+ wifi_handle->config_iterator =
+ g_slist_remove(wifi_handle->config_iterator, config);
}
}