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
SWIFT
SWIFTsim
Commits
5ca1ed8a
Commit
5ca1ed8a
authored
Feb 25, 2020
by
Matthieu Schaller
Browse files
Free the pcells at the end of proxy_cells_exchange()
parent
29123252
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/proxy.c
View file @
5ca1ed8a
...
...
@@ -486,6 +486,10 @@ void proxy_cells_exchange(struct proxy *proxies, int num_proxies,
free
(
reqs
);
swift_free
(
"pcells"
,
pcells
);
swift_free
(
"proxy_cell_offset"
,
offset
);
for
(
int
k
=
0
;
k
<
num_proxies
;
k
++
)
{
swift_free
(
"pcells_in"
,
proxies
[
k
].
pcells_in
);
swift_free
(
"pcells_out"
,
proxies
[
k
].
pcells_out
);
}
#else
error
(
"SWIFT was not compiled with MPI support."
);
...
...
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