There's a memory leak in iparam2stage here:
https://github.com/OpenMathLib/OpenBLAS/blob/develop/lapack-netlib/SRC/iparam2stage.c#L427
The string is malloced but never freed. I don't really see why there is a malloc, since subnam is already allocated on the stack in this line:
https://github.com/OpenMathLib/OpenBLAS/blob/develop/lapack-netlib/SRC/iparam2stage.c#L232
Simply deleting L427 should fix the issue.
There's a memory leak in iparam2stage here:
https://github.com/OpenMathLib/OpenBLAS/blob/develop/lapack-netlib/SRC/iparam2stage.c#L427
The string is malloced but never freed. I don't really see why there is a malloc, since
subnamis already allocated on the stack in this line:https://github.com/OpenMathLib/OpenBLAS/blob/develop/lapack-netlib/SRC/iparam2stage.c#L232
Simply deleting L427 should fix the issue.