Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
M
map-controller
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Multi-AP
map-controller
Merge requests
!272
mapcontroller: Fix memory leak in the exit path
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
mapcontroller: Fix memory leak in the exit path
ne7749
into
release-6.5
Overview
0
Commits
1
Pipelines
1
Changes
1
Merged
Nevadita
requested to merge
ne7749
into
release-6.5
1 year ago
Overview
0
Commits
1
Pipelines
1
Changes
1
Expand
0
0
Merge request reports
Compare
release-6.5
release-6.5 (base)
and
latest version
latest version
975ec3e8
1 commit,
1 year ago
1 file
+
13
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
src/config.c
+
13
−
0
Options
@@ -1545,8 +1545,21 @@ uint8_t cntlr_config_reload(struct controller_config *cfg)
return
diff
;
}
int
clean_sc_list
(
struct
controller_config
*
cfg
)
{
struct
steer_control_config
*
sc
=
NULL
,
*
tmp
;
list_for_each_entry_safe
(
sc
,
tmp
,
&
cfg
->
sclist
,
list
)
{
list_del
(
&
sc
->
list
);
free
(
sc
);
}
return
0
;
}
int
cntlr_config_clean
(
struct
controller_config
*
cfg
)
{
clean_sc_list
(
cfg
);
clean_cred_list
(
cfg
);
clean_agent_policies
(
cfg
);
/* cleans nodelist */
clean_radio_list
(
&
cfg
->
radiolist
);
Loading