-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Description
Putting multiple array pointers in a single delete[] line is incorrect. E.g., in base_solver.h:
| delete[] A, B, X; |
and
| delete[] mask, tgt, grad; |
They lead to memory leaks.
Instead, they should be
delete[] A;
delete[] B;
delete[] X;and
delete[] mask;
delete[] tgt;
delete[] grad;Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels