Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
dkrz-sw
yaxt
Commits
9d46a809
Commit
9d46a809
authored
Jun 01, 2021
by
Thomas Jahns
🤸
Browse files
Fix missing de-allocation.
parent
624144ca
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/xt_redist.c
View file @
9d46a809
...
...
@@ -291,8 +291,9 @@ xt_create_compound_datatype(size_t count,
xt_mpi_call
(
MPI_Type_commit
(
&
datatype
),
comm
);
if
(
num_datatypes
!=
count
&&
num_datatypes
>
max_auto_dt
)
{
free
(
datatype
s_
);
free
(
block_length
s_
);
free
(
displacements_
);
free
(
datatypes_
);
}
return
datatype
;
...
...
Write
Preview
Markdown
is supported
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