Third memory leak fixed.
This commit is contained in:
@@ -240,9 +240,9 @@ void CropHandler::setDetailedCrop (IImage8* im, IImage8* imtrue, rtengine::procp
|
|||||||
if (cropimg)
|
if (cropimg)
|
||||||
delete [] cropimg;
|
delete [] cropimg;
|
||||||
cropimg = NULL;
|
cropimg = NULL;
|
||||||
//if (cropimgtrue)
|
if (cropimgtrue)
|
||||||
// delete [] cropimgtrue;
|
delete [] cropimgtrue;
|
||||||
//cropimgtrue = NULL;
|
cropimgtrue = NULL;
|
||||||
|
|
||||||
if (ax==cropX && ay==cropY && aw==cropW && ah==cropH && askip==(zoom>=1000?1:zoom)) {
|
if (ax==cropX && ay==cropY && aw==cropW && ah==cropH && askip==(zoom>=1000?1:zoom)) {
|
||||||
cropimg_width = im->getWidth ();
|
cropimg_width = im->getWidth ();
|
||||||
|
Reference in New Issue
Block a user