ampl / mp

An open-source library for mathematical programming
https://mp.ampl.com
Other
229 stars 42 forks source link

Memory management #174

Closed glebbelov closed 2 years ago

glebbelov commented 2 years ago

Instances quadratic_obj and infeas_int_01 segfault in Windows. Address sanitizer shows "attempting free on address which was not malloc()-ed" in the 1st case, with the error coming up when freeing expressions. In the 2nd case it's destroying BasicSuffixManager.

Seems good to simplify memory management in both.