[poppler] Branch 'poppler-0.8' - qt4/src

Albert Astals Cid aacid at kemper.freedesktop.org
Fri Jul 25 14:52:38 PDT 2008


 qt4/src/poppler-form.cc |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 8af4ade9fa9cb488014c58eda3a672ad2aca5122
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