[Insight-developers] memory leaks in MetaImageIO
Julien Jomier
jjomier@cs.unc.edu
Sat, 9 Nov 2002 12:22:39 -0500
Hi Aljaz,
Thanks for pointing this out.
I'm fixing it.
Julien
-----Original Message-----
From: insight-developers-admin@public.kitware.com
[mailto:insight-developers-admin@public.kitware.com] On Behalf Of Aljaz
Noe
Sent: Friday, November 08, 2002 1:49 PM
To: Insight-Developers
Subject: [Insight-developers] memory leaks in MetaImageIO
Hi!
I recently noticed that there are several memory leaks in MetaImageIO
class. To specify some (not all) of them:
file Utilities/MetaIO/metaImage.cxx, line 752: temporary created stream
object is never deleted,
file Utilities/MetaIO/metaObject.cxx, lines 633-: a bunch of objects are
created with new, and their pointers are stored in an stl vector, but
never deleted,
...
Aljaz