Review Request: fix kcombobox memory leak

David Faure faure at kde.org
Tue Dec 22 09:57:54 GMT 2009


On Saturday 19 December 2009, Jaime Torres wrote:
> I will not commit, but I think there is a memleak in Qt 4.6.0.
> 
>==6159== 85,091 (240 direct, 84,851 indirect) bytes in 1 blocks are definitely lost in loss record 658 of 659
>==6159==    at 0x4C249AF: operator new(unsigned long) (vg_replace_malloc.c:220)
>==6159==    by 0x7DF2CA4: QFontDatabase::load(QFontPrivate const*, int) (qfontdatabase.cpp:997)
>==6159==    by 0x7DCA8DF: QFontPrivate::engineForScript(int) const (qfont.cpp:270)
>==6159==    by 0x7E020FB: QScriptLine::setDefaultHeight(QTextEngine*) (qtextengine.cpp:2013)
>==6159==    by 0x7E0E736: QTextLine::layout_helper(int) (qtextlayout.cpp:1713)

Maybe, but that would be in QFontDatabase, not in KComboBox.

-- 
David Faure, faure at kde.org, http://www.davidfaure.fr
Sponsored by Nokia to work on KDE, incl. Konqueror (http://www.konqueror.org).




More information about the kde-core-devel mailing list