diff options
author | Fabio D'Urso <fabiodurso@hotmail.it> | 2013-03-07 00:20:15 +0100 |
---|---|---|
committer | Albert Astals Cid <aacid@kde.org> | 2013-06-30 21:10:28 +0200 |
commit | 19f8a88bba6022b8172477e6f52dfd36b2fc5e92 (patch) | |
tree | eff13e622bd5cd46b81f416f8bf17a7d30ea8a1e /qt5 | |
parent | 8bac4d1e43ce9a4c66fddc8430d7bed2d9aabba1 (diff) |
qt5: Free some temporary memory in TextAnnotationPrivate::createNativeAnnot
There's no need to keep this buffer around after it has been flushed
Diffstat (limited to 'qt5')
-rw-r--r-- | qt5/src/poppler-annotation.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/qt5/src/poppler-annotation.cc b/qt5/src/poppler-annotation.cc index c32771e5..baf05004 100644 --- a/qt5/src/poppler-annotation.cc +++ b/qt5/src/poppler-annotation.cc @@ -1684,6 +1684,8 @@ Annot* TextAnnotationPrivate::createNativeAnnot(::Page *destPage, DocumentData * delete q; + inplaceCallout.clear(); // Free up memory + return pdfAnnot; } |