<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2523" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=500434219-15112004><FONT face=Arial size=2>Hi,
Matheieu,</FONT></SPAN></DIV>
<DIV><SPAN class=500434219-15112004><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=500434219-15112004><FONT face=Arial size=2>thanks a lot.
PixelConvert can be deleted.</FONT></SPAN></DIV>
<DIV><SPAN class=500434219-15112004><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=500434219-15112004><FONT face=Arial size=2>I found some codes
in gdcmDocument as follows:</FONT></SPAN></DIV>
<DIV><SPAN class=500434219-15112004><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=500434219-15112004><FONT face=Arial size=2> // Recursive
clean up of sequences<BR> for (TagDocEntryHT::const_iterator it =
TagHT.begin();
<BR>
it != TagHT.end(); ++it )<BR> { <BR>
//delete it->second; //temp remove<BR> }<BR>
TagHT.clear();</FONT></SPAN></DIV>
<DIV><SPAN class=500434219-15112004><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=500434219-15112004><FONT face=Arial size=2>I think tagHT is
cleared. so in gdcm::ElementSet destructor never deletes the contents of
TagHT and </FONT></SPAN></DIV>
<DIV><SPAN class=500434219-15112004><FONT face=Arial size=2>leave a lot of
memory leaks.</FONT></SPAN></DIV>
<DIV><SPAN class=500434219-15112004><FONT face=Arial size=2>can you take a look
at the destructor of gdcm::ElementSet?</FONT></SPAN></DIV>
<DIV><SPAN class=500434219-15112004><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=500434219-15112004><FONT face=Arial size=2>now i just comment
out these codes. maybe i'm wrong. I</FONT></SPAN><SPAN
class=500434219-15112004><FONT face=Arial size=2> don't know which class is
responsible to delete TagHT.</FONT></SPAN></DIV>
<DIV><SPAN class=500434219-15112004><FONT face=Arial size=2>I think the simple
way is who create it, who delete it.</FONT></SPAN></DIV>
<DIV><SPAN class=500434219-15112004><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=500434219-15112004><FONT face=Arial size=2>by the way, i
changed my email account to hotmail.</FONT></SPAN></DIV>
<DIV><SPAN class=500434219-15112004><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=500434219-15112004><FONT face=Arial
size=2>thx,</FONT></SPAN></DIV>
<DIV><SPAN class=500434219-15112004><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=500434219-15112004><FONT face=Arial
size=2>Dennis</FONT></SPAN></DIV>
<DIV><SPAN class=500434219-15112004><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=500434219-15112004> </SPAN></DIV>
<DIV><SPAN class=500434219-15112004><FONT face=Arial
size=2></FONT></SPAN> </DIV></BODY></HTML>