Fix some memory leaks

This commit is contained in:
heckflosse
2017-06-07 21:32:28 +02:00
parent 5e22addc54
commit 5e5affa585
2 changed files with 8 additions and 0 deletions

View File

@@ -293,6 +293,12 @@ public:
cmsCloseProfile(p.second);
}
}
if(srgb) {
cmsCloseProfile(srgb);
}
if(xyz) {
cmsCloseProfile(xyz);
}
}
void init(const Glib::ustring& usrICCDir, const Glib::ustring& rtICCDir, bool loadAll)