YCMatrix
YCMatrix copied to clipboard
+ (instancetype)identityOfRows; leaks memory
The array contents are allocated: double new_m = calloc(mn, sizeof(double)); Then copied into the matrix, but the originals are never freed.