usgs-coupled / iphreeqc

5 stars 4 forks source link

Memory leak in selected_output #32

Closed scharlton2 closed 10 months ago

scharlton2 commented 10 months ago

The storage for selected_output isn't cleared when multiple calls are made to RunFile/RunString/RunAccumulated.

This would cause PhreeqcRM to sometimes run out of memory:

https://phreeqcusers.org/index.php/topic,1942.msg6821.html