<DIV>Hi all,</DIV>
<DIV>&nbsp;</DIV>
<DIV>Here is a code fragment I used for allocating and deallocating vtkImageData instance.</DIV>
<DIV>&nbsp;</DIV>
<DIV>imgData = vtkImageData::New();</DIV>
<DIV>.</DIV>
<DIV>.</DIV>
<DIV>imgData-&gt;Delete();</DIV>
<DIV>.</DIV>
<DIV>.</DIV>
<DIV>&nbsp;</DIV>
<DIV>I've problem deallocating the previously allocated vtkImageData instance.&nbsp; It throws up exception when Delete() is called in the destructor.&nbsp; Do any of you know what's with this code?</DIV>
<DIV>&nbsp;</DIV>
<DIV>Madhu.</DIV><p>__________________________________________________<br>Do You Yahoo!?<br>Tired of spam?  Yahoo! Mail has the best spam protection around <br>http://mail.yahoo.com