diff --git a/coders/bgr.c b/coders/bgr.c
index 774a612..d598b86 100644
--- a/coders/bgr.c
+++ b/coders/bgr.c
@@ -138,7 +138,7 @@
image_info->filename);
assert(exception != (ExceptionInfo *) NULL);
assert(exception->signature == MagickSignature);
- image=AcquireImage(image_info);
+ image=AcquireImage(image_info,exception);
if ((image->columns == 0) || (image->rows == 0))
ThrowReaderException(OptionError,"MustSpecifyImageSize");
image->colorspace=RGBColorspace;
@@ -929,7 +929,7 @@
/*
Allocate next image structure.
*/
- AcquireNextImage(image_info,image);
+ AcquireNextImage(image_info,image,exception);
if (GetNextImageInList(image) == (Image *) NULL)
{
image=DestroyImageList(image);