Skip to content

Commit

Permalink
Merge pull request #840 from mcveanlab/fix-memory-leak
Browse files Browse the repository at this point in the history
Fix memory leak in low-level module.
  • Loading branch information
jeromekelleher authored Dec 5, 2019
2 parents 48b8da2 + 22cc6c5 commit cca1795
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions _msprimemodule.c
Original file line number Diff line number Diff line change
Expand Up @@ -2861,6 +2861,7 @@ Simulator_parse_demographic_events(Simulator *self, PyObject *py_events)
Py_XDECREF(instantaneous_bottleneck_s);
Py_XDECREF(initial_size_s);
Py_XDECREF(growth_rate_s);
Py_XDECREF(census_event_s);
return ret;
}

Expand Down

0 comments on commit cca1795

Please sign in to comment.