mirror of
https://invent.kde.org/graphics/okular
synced 2024-09-12 20:51:17 +00:00
don't leak the internal documents, but properly delete them
svn path=/trunk/KDE/kdegraphics/okular/; revision=719297
This commit is contained in:
parent
211ab15c2e
commit
7e150aeb43
|
@ -1302,6 +1302,7 @@ bool XpsFile::closeDocument()
|
|||
|
||||
m_docInfo = 0;
|
||||
|
||||
qDeleteAll( m_documents );
|
||||
m_documents.clear();
|
||||
|
||||
delete m_xpsArchive;
|
||||
|
|
Loading…
Reference in a new issue