mirror of
https://invent.kde.org/graphics/okular
synced 2024-08-24 10:25:36 +00:00
delete the document info when closing a document
svn path=/trunk/KDE/kdegraphics/okular/; revision=732870
This commit is contained in:
parent
360e7cd95b
commit
2ae8000a77
|
@ -94,6 +94,9 @@ bool GSGenerator::doCloseDocument()
|
|||
spectre_document_free(m_internalDocument);
|
||||
m_internalDocument = 0;
|
||||
|
||||
delete m_docInfo;
|
||||
m_docInfo = 0;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue