Update of /cvsroot/libufo/ufo-0.5/src/widgets
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31202/src/widgets
Modified Files:
utextwidget.cpp
Log Message:
Fixed mem leak in UTextWidget (thanks Andreas).
Index: utextwidget.cpp
===================================================================
RCS file: /cvsroot/libufo/ufo-0.5/src/widgets/utextwidget.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** utextwidget.cpp 20 Jul 2005 10:15:16 -0000 1.2
--- utextwidget.cpp 17 Aug 2005 09:09:46 -0000 1.3
***************
*** 101,104 ****
--- 101,108 ----
}
+ UTextWidget::~UTextWidget() {
+ delete (m_textLayout);
+ }
+
void
UTextWidget::setContentType(const std::string & type) {
|