Fix two small memory leaks, #4866
This commit is contained in:
@@ -759,6 +759,7 @@ void BayerProcess::autoContrastChanged (double autoContrast)
|
||||
me->disableListener();
|
||||
me->dualDemosaicContrast->setValue(d->autoContrast);
|
||||
me->enableListener();
|
||||
delete d;
|
||||
return FALSE;
|
||||
};
|
||||
|
||||
|
@@ -261,6 +261,7 @@ void XTransProcess::autoContrastChanged (double autoContrast)
|
||||
me->disableListener();
|
||||
me->dualDemosaicContrast->setValue(d->autoContrast);
|
||||
me->enableListener();
|
||||
delete d;
|
||||
return FALSE;
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user