Hi All,

I am using

std::list<char*>* dlP

in my program.

when I do 
int* val = *(dlP->begin());
dlP->pop_front(), 

do I need to make 

'delete val' to avoid memory leak ?

probably in unix pop_front() releases the memory also. So we need not delete 
the memory exclusively. But is that the case with MSL c++ for Palm os ?

--cp
-- 
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/

Reply via email to