fix memory leak during image conversion in simpleprocess.cc

This commit is contained in:
janrinze
2011-01-18 16:08:05 +01:00
parent 678d2453ef
commit 86e0660125

View File

@@ -197,6 +197,9 @@ IImage16* processImage (ProcessingJob* pjob, int& errorCode, ProgressListener* p
}
readyImg = ipf.lab2rgb16 (labView, cx, cy, cw, ch, params.icm.output);
// we can now safely delete labView
delete labView;
if (pl)
pl->setProgress (1.0);