Commit d95f2c16 authored by Cyrille Berger's avatar Cyrille Berger

fix leak

svn path=/trunk/koffice/; revision=768947
parent 929a7600
......@@ -64,6 +64,7 @@ KoColor::KoColor(const KoColorSpace * colorSpace)
KoColor::~KoColor()
{
delete d->data;
delete d;
}
......
......@@ -189,7 +189,7 @@ class KoLcmsColorSpace : public KoColorSpaceAbstract<_CSTraits>, public KoLcmsIn
cmsDeleteTransform( d->defaultFromRGB );
cmsDeleteTransform( d->defaultToRGB );
delete d->colorProfile;
delete d->qcolordata;
delete[] d->qcolordata;
delete d;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment