<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<META content="MSHTML 6.00.2900.2523" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi, Mathieu,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>From my point of view, gdcm::ElementSet is the base
class for gdcm::Document.So it needs virtual destructor. i will do some tests
with this.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>No special tool was used. just use some tips from
<A
href="http://www.devx.com/DevX/Tip/20465">http://www.devx.com/DevX/Tip/20465</A></FONT></DIV>
<DIV><FONT face=Arial size=2>Hope you can find and fix memory leaks in gdcm.
</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>In gdcmFile.cxx, pixelConverter is created by new
without delete to clean up.</FONT></DIV>
<DIV><FONT face=Arial size=2>the codes like following:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>PixelConverter = new PixelConvert; //LEAK
!</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2> is it intentional or faces some
challenging?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Dennis</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV></BODY></HTML>