MantisBT - VTK | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0002698 | VTK | (No Category) | public | 2006-01-09 12:08 | 2016-07-06 09:17 |
| Reporter | Sebastien Valette | ||||
| Assigned To | T.J. Corona | ||||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Platform | OS | OS Version | |||
| Product Version | |||||
| Target Version | Fixed in Version | ||||
| Project | |||||
| Type | |||||
| Summary | 0002698: memory leak in vtkMath::SolveLeastSquares | ||||
| Description | A memory leak was found in the method int vtkMath::SolveLeastSquares(int numberOfSamples, double **xt, int xOrder, double **yt, int yOrder, double **mt, int checkHomogeneous); the intermediate variables are not released when this function returns 0; Thus, the code: *****************begin code************** // clean up: // set up intermediate variables for (i = 0; i < xOrder; i++) { delete [] XXt[i]; delete [] XXtI[i]; delete [] XYt[i]; } delete [] XXt; delete [] XXtI; delete [] XYt; delete [] homogenFlags; **************************************** should be inserted just before the return(0); this bug seems to be present in all the versions | ||||
| Steps To Reproduce | |||||
| Additional Information | |||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | |||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2008-11-30 09:14 | Mathieu Malaterre | Assigned To | Mathieu Malaterre => François Bertel | ||
| 2010-09-07 13:46 | François Bertel | Assigned To | François Bertel => | ||
| 2011-06-16 13:11 | Zack Galbreath | Category | => (No Category) | ||
| 2015-12-14 11:15 | T.J. Corona | Assigned To | => T.J. Corona | ||
| 2015-12-14 11:15 | T.J. Corona | Status | expired => backlog | ||
| 2015-12-14 11:15 | T.J. Corona | Status | backlog => active development | ||
| 2016-07-06 09:17 | T.J. Corona | Note Added: 0036155 | |||
| 2016-07-06 09:17 | T.J. Corona | Status | active development => closed | ||
| 2016-07-06 09:17 | T.J. Corona | Resolution | open => fixed | ||
| Notes | |||||
|
|
|||||
|
|
||||