Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mpim-sw
libcdi
Commits
89695c5b
Commit
89695c5b
authored
Nov 19, 2013
by
Thomas Jahns
🤸
Browse files
Fix resource leak.
parent
325e4110
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/pio_interface.c
View file @
89695c5b
...
...
@@ -476,9 +476,10 @@ void modelWinCreate ( void )
xmpi
(
MPI_Win_create
(
txWin
[
collID
].
buffer
,
(
MPI_Aint
)
txWin
[
collID
].
size
,
1
,
no_locks_info
,
commInqCommsIO
(
collID
),
&
txWin
[
collID
].
win
));
xmpi
(
MPI_Comm_group
(
commInqCommsIO
(
collID
),
&
txWin
[
collID
].
ioGroup
));
xmpi
(
MPI_Group_incl
(
txWin
[
collID
].
ioGroup
,
1
,
ranks
,
&
txWin
[
collID
].
ioGroup
));
MPI_Group
commGroup
;
xmpi
(
MPI_Comm_group
(
commInqCommsIO
(
collID
),
&
commGroup
));
xmpi
(
MPI_Group_incl
(
commGroup
,
1
,
ranks
,
&
txWin
[
collID
].
ioGroup
));
xmpi
(
MPI_Group_free
(
&
commGroup
));
}
xmpi
(
MPI_Info_free
(
&
no_locks_info
));
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment