[Uml-devel] Do you know what's wrong here?

Sebastian Stein seb_stein at gmx.de
Tue Jul 13 11:40:10 UTC 2004


I don't understand what causes the following leak:

==32084== 4416 bytes in 552 blocks are definitely lost in loss record 198 of 212
==32084==    at 0x3C01D54C: operator new(unsigned) (vg_replace_malloc.c:107)
==32084==    by 0x3CD631AE: QTextEdit::setParagraphBackgroundColor(int, QColor const&) (in /usr/lib/qt-3.3.2/lib/libqt-mt.so.3.3.2)
==32084==    by 0x8233C25: CodeEditor::insert(QString const&, TextBlock*, bool, QColor const&, QColor const&, UMLObject*, QString const&, int) (codeeditor.cpp:260)
==32084==    by 0x8233F4D: CodeEditor::appendText(CodeComment*, TextBlock*, UMLObject*, QString const&) (codeeditor.cpp:386)


(please note, the call to setParagraphBackgroundColor is in line
codeeditor.cpp:263 because of recent code changes)

Any idea how to fix this?

Sebastian
-- 
http://www.hpfsc.de/ - die Seite rund um:
Assembler, Bundeswehr, TFT LCDs, Halle/Saale, Fahrradtouren, Neuseeland,
Wanderstaat Mauma, Raumschiff USS Nathan, Enemy Room, MLCAD Tutorial




More information about the umbrello-devel mailing list