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
bd1d9743
Commit
bd1d9743
authored
20 years ago
by
Moe Jette
Browse files
Options
Downloads
Patches
Plain Diff
Free allocated switch node info, fixes memory leak.
parent
3d491913
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/slurmd/req.c
+6
-4
6 additions, 4 deletions
src/slurmd/req.c
with
6 additions
and
4 deletions
src/slurmd/req.c
+
6
−
4
View file @
bd1d9743
...
@@ -1009,6 +1009,7 @@ _job_still_running(uint32_t job_id)
...
@@ -1009,6 +1009,7 @@ _job_still_running(uint32_t job_id)
static
int
static
int
_epilog_complete
(
uint32_t
jobid
,
int
rc
)
_epilog_complete
(
uint32_t
jobid
,
int
rc
)
{
{
int
ret
=
SLURM_SUCCESS
;
slurm_msg_t
msg
;
slurm_msg_t
msg
;
epilog_complete_msg_t
req
;
epilog_complete_msg_t
req
;
...
@@ -1025,11 +1026,12 @@ _epilog_complete(uint32_t jobid, int rc)
...
@@ -1025,11 +1026,12 @@ _epilog_complete(uint32_t jobid, int rc)
if
(
slurm_send_only_controller_msg
(
&
msg
)
<
0
)
{
if
(
slurm_send_only_controller_msg
(
&
msg
)
<
0
)
{
error
(
"Unable to send epilog complete message: %m"
);
error
(
"Unable to send epilog complete message: %m"
);
ret
urn
SLURM_ERROR
;
ret
=
SLURM_ERROR
;
}
}
else
debug
(
"Job %u: sent epilog complete msg: rc = %d"
,
jobid
,
rc
);
debug
(
"Job %u: sent epilog complete msg: rc = %d"
,
jobid
,
rc
);
return
SLURM_SUCCESS
;
switch_g_free_node_info
(
&
req
.
switch_nodeinfo
);
return
ret
;
}
}
static
void
static
void
...
...
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