Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Slurm
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository 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
tud-zih-energy
Slurm
Commits
cec31bda
Commit
cec31bda
authored
21 years ago
by
Moe Jette
Browse files
Options
Downloads
Patches
Plain Diff
Add free of api config data structure on termination to more easily
see memory leaks.
parent
06d1ed1d
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/slurmctld/controller.c
+3
-3
3 additions, 3 deletions
src/slurmctld/controller.c
with
3 additions
and
3 deletions
src/slurmctld/controller.c
+
3
−
3
View file @
cec31bda
...
@@ -305,6 +305,7 @@ int main(int argc, char *argv[])
...
@@ -305,6 +305,7 @@ int main(int argc, char *argv[])
node_fini
();
node_fini
();
slurm_cred_ctx_destroy
(
slurmctld_config
.
cred_ctx
);
slurm_cred_ctx_destroy
(
slurmctld_config
.
cred_ctx
);
free_slurm_conf
(
&
slurmctld_conf
);
free_slurm_conf
(
&
slurmctld_conf
);
slurm_api_clear_config
();
#endif
#endif
log_fini
();
log_fini
();
...
@@ -350,7 +351,7 @@ static void _init_config(void)
...
@@ -350,7 +351,7 @@ static void _init_config(void)
slurmctld_config
.
thread_count_lock
=
0
;
slurmctld_config
.
thread_count_lock
=
0
;
slurmctld_config
.
thread_id_main
=
0
;
slurmctld_config
.
thread_id_main
=
0
;
slurmctld_config
.
thread_id_sig
=
0
;
slurmctld_config
.
thread_id_sig
=
0
;
slurmctld_config
.
thread_id_rpc
=
0
;
slurmctld_config
.
thread_id_rpc
=
0
;
#endif
#endif
}
}
...
@@ -782,8 +783,7 @@ int slurmctld_shutdown(void)
...
@@ -782,8 +783,7 @@ int slurmctld_shutdown(void)
/* no response */
/* no response */
/* shutdown message connection */
/* shutdown message connection */
if
((
rc
=
slurm_shutdown_msg_conn
(
sockfd
))
if
((
rc
=
slurm_shutdown_msg_conn
(
sockfd
))
==
SLURM_SOCKET_ERROR
)
{
==
SLURM_SOCKET_ERROR
)
{
error
(
"slurm_shutdown_msg_conn error"
);
error
(
"slurm_shutdown_msg_conn error"
);
return
SLURM_SOCKET_ERROR
;
return
SLURM_SOCKET_ERROR
;
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment