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
95fdd48e
Commit
95fdd48e
authored
18 years ago
by
Danny Auble
Browse files
Options
Downloads
Patches
Plain Diff
make sure the we are done with all the forwarded messages when freeing a message
parent
924d6758
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/common/forward.c
+1
-1
1 addition, 1 deletion
src/common/forward.c
src/common/slurm_protocol_api.c
+3
-1
3 additions, 1 deletion
src/common/slurm_protocol_api.c
with
4 additions
and
2 deletions
src/common/forward.c
+
1
−
1
View file @
95fdd48e
...
...
@@ -16,7 +16,7 @@
* any later version.
*
* In addition, as a special exception, the copyright holders give permission
* to link the code of portions of this program with the OpenSSL library under
* to link the code of portions of this program with the OpenSSL library under
* certain conditions as described in each individual source file, and
* distribute linked combinations including the two. You must obey the GNU
* General Public License in all respects for all of the code used other than
...
...
This diff is collapsed.
Click to expand it.
src/common/slurm_protocol_api.c
+
3
−
1
View file @
95fdd48e
...
...
@@ -1214,7 +1214,6 @@ total_return:
msg
->
data
=
NULL
;
error
(
"slurm_receive_and_forward_msgs: %s"
,
slurm_strerror
(
rc
));
rc
=
-
1
;
}
else
{
rc
=
0
;
}
...
...
@@ -2192,6 +2191,9 @@ extern void slurm_free_msg(slurm_msg_t * msg)
{
if
(
msg
->
auth_cred
)
(
void
)
g_slurm_auth_destroy
(
msg
->
auth_cred
);
/* make sure we have all the ones we sent to so we don't worry
about freing something that may be written to later */
forward_wait
(
msg
);
if
(
msg
->
ret_list
)
{
list_destroy
(
msg
->
ret_list
);
msg
->
ret_list
=
NULL
;
...
...
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