Fix two small memory leaks, #4866

This commit is contained in:
heckflosse
2018-10-24 12:23:15 +02:00
parent 96acd92a7c
commit 7a1cc62d5c
2 changed files with 2 additions and 0 deletions

View File

@@ -759,6 +759,7 @@ void BayerProcess::autoContrastChanged (double autoContrast)
me->disableListener();
me->dualDemosaicContrast->setValue(d->autoContrast);
me->enableListener();
delete d;
return FALSE;
};

View File

@@ -261,6 +261,7 @@ void XTransProcess::autoContrastChanged (double autoContrast)
me->disableListener();
me->dualDemosaicContrast->setValue(d->autoContrast);
me->enableListener();
delete d;
return FALSE;
};