Fix two leaks reported by coverity

This commit is contained in:
heckflosse
2018-11-27 20:06:48 +01:00
parent 7f1b14c50a
commit 79d561469f
4 changed files with 10 additions and 0 deletions

View File

@@ -168,6 +168,10 @@ PreviewLoader::PreviewLoader():
{
}
PreviewLoader::~PreviewLoader() {
delete impl_;
}
PreviewLoader* PreviewLoader::getInstance()
{
static PreviewLoader instance_;