Commit f1743fa3 authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Correctly reset the pcells_in/pcells_out pointers

parent 88afb836
...@@ -489,6 +489,8 @@ void proxy_cells_exchange(struct proxy *proxies, int num_proxies, ...@@ -489,6 +489,8 @@ void proxy_cells_exchange(struct proxy *proxies, int num_proxies,
for (int k = 0; k < num_proxies; k++) { for (int k = 0; k < num_proxies; k++) {
swift_free("pcells_in", proxies[k].pcells_in); swift_free("pcells_in", proxies[k].pcells_in);
swift_free("pcells_out", proxies[k].pcells_out); swift_free("pcells_out", proxies[k].pcells_out);
proxies[k].pcells_in = NULL;
proxies[k].pcells_out = NULL;
} }
#else #else
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment