[Insight-users] Memory leak in the class "vnl_sparse_lu" and its solution

Xavier Mellado Esteban xme at unizar.es
Tue Aug 31 06:00:28 EDT 2010


    Hi,

    I found a memory leak in the class "vnl_sparse_lu" located under  
the "./Utilities/vxl/core/vnl/algo" folder in ITK 3.20.

    The constructor function allocates memory that it is never freed,  
and the destructor function should be modified. This bug is fixed in  
the latest release of VXL (1.14) (maybe in previous releases, but I  
only checked the last one).

    The files vnl_sparse_lu.h and vnl_sparse_lu.cxx of VXL 1.14 only  
differ from the ITK ones in this point, so they can be directly  
replaced to solve the problem.

            Best regards,
                            Xavi


__________________________________________________________

Xavier Mellado Esteban

Grupo de Tecnologías de las Comunicaciones (GTC).
Instituto de Investigación en Ingeniería de Aragón (I3A).

Edificio Ada Byron. Despacho L3.07
Dpto. Ingeniería Electrónica y Comunicaciones.
Centro Politécnico Superior (CPS).
Campus Río Ebro (Actur). Universidad de Zaragoza.
C/ María de Luna, 1
50018 Zaragoza (Spain)

Teléfono: 976762704
E-Mail: xme at unizar.es
MSN Messenger: xme at unizar.es
__________________________________________________________




More information about the Insight-users mailing list