Fix memory leak in iccstore

This commit is contained in:
heckflosse
2017-06-07 20:39:44 +02:00
parent 2edd677d1a
commit 5e22addc54

View File

@@ -288,6 +288,11 @@ public:
cmsCloseProfile(p.second);
}
}
for (auto &p : fileProfiles) {
if(p.second) {
cmsCloseProfile(p.second);
}
}
}
void init(const Glib::ustring& usrICCDir, const Glib::ustring& rtICCDir, bool loadAll)