]> granicus.if.org Git - imagemagick/commitdiff
...
authorCristy <urban-warrior@imagemagick.org>
Wed, 28 Nov 2018 12:07:13 +0000 (07:07 -0500)
committerCristy <urban-warrior@imagemagick.org>
Wed, 28 Nov 2018 12:07:13 +0000 (07:07 -0500)
coders/png.c

index 7fc2699f482a41a24631fa438923aab6d95aaf17..156cd118a8ac2e7c02914f8fae65fd5493430c8c 100644 (file)
@@ -11357,7 +11357,7 @@ static MagickBooleanType WriteOnePNGImage(MngInfo *mng_info,
   if (pixel_info == (MemoryInfo *) NULL)
     png_error(ping,"Allocation of memory for pixels failed");
   ping_pixels=(unsigned char *) GetVirtualMemoryBlob(pixel_info);
-  (void) memset(png_pixels,0,rowbytes*sizeof(*ping_pixels));
+  (void) memset(ping_pixels,0,rowbytes*sizeof(*ping_pixels));
   /*
     Initialize image scanlines.
   */