cleaning up a hash map
YAP
x112358 at gmail.com
Thu Nov 8 13:58:23 PST 2007
Hi,
I have a hash map that is defined as follow
WX_DECLARE_HASH_MAP( wxString, CUserItem*, wxStringHash,
wxStringEqual, VSCPUSERHASH );
I get memory leaks when my program ends and have tried many different
ways to clean up the elements in the map in the destructor but still
get memory leaks. What is the right way?
Thanks in advance!
/Ake
--
---
Ake Hedman (YAP - Yet Another Programmer)
eurosource, Brattbergavagen 17, 820 50 LOS, Sweden
Phone: (46) 657 413430 Cellular: (46) 73 0533 146
Company home: http://www.dofscandinavia.com
Kryddor/Te/Kaffe: http://www.brattberg.com
Personal homepage: http://www.dofscandinavia.com/akhe
Automated home: http://www.vscp.org
More information about the wx-users
mailing list