memory leak in KonqHistoryManager
faure at kde.org
Fri Jan 28 20:39:30 GMT 2005
On Friday 28 January 2005 21:32, André Wöbbeking wrote:
> here is the next one
> operator new(unsigned) (vg_replace_malloc.c:133)
> KonqHistoryManager::addToHistory(bool, KURL const&, QString const&, QString const&) (konq_historymgr.cc:320)
This is weird. Any code which removes an item from the map correctly deletes it,
and the destructor calls the right code for clearing the map.
Ah - maybe there are duplicates, and insert() hides a previous entry.
In that case the attached patch might help. Can you test it?
David Faure, faure at kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1078 bytes
Desc: not available
More information about the kde-core-devel