[poppler] qt4/src
Albert Astals Cid
aacid at kemper.freedesktop.org
Fri Jul 25 14:53:20 PDT 2008
qt4/src/poppler-form.cc | 1 +
1 file changed, 1 insertion(+)
New commits:
commit e7b3e3ae3080bd6f239f7d96761729ad30b075ae
Author: Albert Astals Cid <aacid at kde.org>
Date: Fri Jul 25 23:52:28 2008 +0200
Fix leak
diff --git a/qt4/src/poppler-form.cc b/qt4/src/poppler-form.cc
index bc63552..752c608 100644
--- a/qt4/src/poppler-form.cc
+++ b/qt4/src/poppler-form.cc
@@ -230,6 +230,7 @@ void FormFieldText::setText( const QString& text )
FormWidgetText* fwt = static_cast<FormWidgetText*>(m_formData->fm);
GooString * goo = QStringToUnicodeGooString( text );
fwt->setContent( goo );
+ delete goo;
}
bool FormFieldText::isPassword() const
More information about the poppler
mailing list