Detect memory leaks

This commit is contained in:
Jakub Melka
2022-01-30 18:23:25 +01:00
parent 22c40b227c
commit 284f0c4db8
89 changed files with 227 additions and 85 deletions

View File

@ -347,6 +347,11 @@ private:
public:
explicit PDFCMSManager(QObject* parent);
/// Finalizes cms manager. Call this function
/// only at program exit. Frees all allocated
/// resources. Function is not thread-safe.
static void finalize();
/// Returns current CMS. This function possibly creates CMS,
/// of no CMS is found.
PDFCMSPointer getCurrentCMS() const;