Skip to content

Commit

Permalink
Merge branch 'master' into cornu/clean_mpispike
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicolas Cornu authored Sep 28, 2023
2 parents fa06fcc + 78b0d1b commit 427ad30
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/nrnoc/multicore.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -393,10 +393,8 @@ void nrn_threads_free() {
tml2 = tml->next;
free((char*) ml->nodelist);
free((char*) ml->nodeindices);
if (memb_func[tml->index].hoc_mech) {
free((char*) ml->prop);
} else {
// free((char*) ml->_data);
delete[] ml->prop;
if (!memb_func[tml->index].hoc_mech) {
free((char*) ml->pdata);
}
if (ml->_thread) {
Expand Down

0 comments on commit 427ad30

Please sign in to comment.