Cleanup: removed unused function; also murder instead of call for suicide (delete this)
This commit is contained in:
@@ -699,7 +699,7 @@ rtengine::ProcessingJob* BatchQueue::imageReady(rtengine::IImagefloat* img)
|
||||
err = img->saveAsJPEG (fname, saveFormat.jpegQuality, saveFormat.jpegSubSamp);
|
||||
}
|
||||
|
||||
img->free ();
|
||||
delete img;
|
||||
|
||||
if (err) {
|
||||
throw Glib::FileError(Glib::FileError::FAILED, M("MAIN_MSG_CANNOTSAVE") + "\n" + fname);
|
||||
|
Reference in New Issue
Block a user