From 5225b30e102bed2d3029bf2c4af6fb72a1c233e5 Mon Sep 17 00:00:00 2001 From: Cristy Date: Sun, 18 Mar 2018 08:34:36 -0400 Subject: [PATCH] ... --- MagickCore/image.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/MagickCore/image.c b/MagickCore/image.c index 563042bf1..19916b9fc 100644 --- a/MagickCore/image.c +++ b/MagickCore/image.c @@ -2246,6 +2246,9 @@ MagickExport MagickBooleanType ResetImagePixels(Image *image, pixels=AcquirePixelCachePixels(image,&length,exception); if (pixels != (void *) NULL) { + /* + Reset in-core image pixels. + */ (void) memset(pixels,0,length); return(MagickTrue); } -- 2.40.0