Closed talassio closed 3 months ago
There is an inverted if c_associated at freeing up the workspace memory in the C interface definitions. See, https://github.com/ralna/RALFit/blob/7102863e811db233935d75e7f278df8b3d049d1c/libRALFit/src/ral_nlls_ciface.f90#L560 Should be,
c_associated
if( .not. c_associated(cw) return ! Nothing to do if not associated
Leak was verified using libASAN and Valgrind.
There is an inverted if
c_associated
at freeing up the workspace memory in the C interface definitions. See, https://github.com/ralna/RALFit/blob/7102863e811db233935d75e7f278df8b3d049d1c/libRALFit/src/ral_nlls_ciface.f90#L560 Should be,Leak was verified using libASAN and Valgrind.