View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0001558 | VTK | (No Category) | public | 2005-02-01 06:25 | 2011-01-13 17:00 | ||||
Reporter | Hideaki Hiraki | ||||||||
Assigned To | Amy Squillacote | ||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||
Status | closed | Resolution | fixed | ||||||
Platform | OS | OS Version | |||||||
Product Version | |||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0001558: potential memory leak in vtkImageReslice | ||||||||
Description | The destructor of vtkImageReslice should decrease the reference count of its InformationInput. $ vtk % vtkImageReslice reslice reslice % vtkImageData data data % data GetReferenceCount 1 % reslice SetInformationInput data % data GetReferenceCount 2 % reslice Delete % data GetReferenceCount 2 The last result should be 1. A fix is: //---------------------------------------------------------------------------- vtkImageReslice::~vtkImageReslice() { + this->SetInformationInput(NULL); this->SetResliceTransform(NULL); this->SetResliceAxes(NULL); if (this->IndexMatrix) | ||||||||
Tags | No tags attached. | ||||||||
Project | |||||||||
Type | |||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0002041) Amy Squillacote (reporter) 2005-02-04 12:01 |
This has been fixed in the main CVS tree. (See revision 1.57 or vtkImageReslice.cxx.) |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2010-11-29 17:59 | Amy Squillacote | Source_changeset_attached | => VTK master adb80f74 |
2011-01-13 17:00 | Source_changeset_attached | => VTK master a2bd8391 | |
2011-01-13 17:00 | Source_changeset_attached | => VTK master 020ef709 | |
2011-06-16 13:11 | Zack Galbreath | Category | => (No Category) |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |