ITA-Solar / rh

RH 1.5D
20 stars 17 forks source link

Memory leak fixes as discussed in #9 #24

Closed Goobley closed 5 years ago

Goobley commented 5 years ago

Also adjusted file reading to be null-terminated so sgets doesn't read past the end of its buffer. Valgrind reports this as leak-free even when run with SOLVE_NE = ITERATION.

tiagopereira commented 5 years ago

Tested with rh15d and it looks fine, thanks!