diff --git a/MagickWand/mogrify.c b/MagickWand/mogrify.c
index 9da0a2f..cad2fed 100644
--- a/MagickWand/mogrify.c
+++ b/MagickWand/mogrify.c
@@ -1868,7 +1868,8 @@
if ((flags & SigmaValue) == 0)
white_point=(MagickRealType) QuantumRange-black_point;
if ((*option == '+') || ((flags & AspectValue) != 0))
- (void) LevelizeImage(*image,black_point,white_point,gamma);
+ (void) LevelizeImage(*image,black_point,white_point,gamma,
+ exception);
else
(void) LevelImage(*image,black_point,white_point,gamma,
exception);
@@ -1907,7 +1908,7 @@
(void) QueryMagickColor("#ffffff",&white_point,exception);
}
(void) LevelImageColors(*image,&black_point,&white_point,
- *option == '+' ? MagickTrue : MagickFalse);
+ *option == '+' ? MagickTrue : MagickFalse,exception);
break;
}
if (LocaleCompare("linear-stretch",option+1) == 0)
@@ -7620,9 +7621,8 @@
status=MagickFalse;
break;
}
- (void) HaldClutImage(image,hald_image);
+ (void) HaldClutImage(image,hald_image,exception);
hald_image=DestroyImage(hald_image);
- InheritException(exception,&image->exception);
if (*images != (Image *) NULL)
*images=DestroyImageList(*images);
*images=image;