]> granicus.if.org Git - imagemagick/commitdiff
Fixed issue 569 with DestroyStringInfo(ping_profile)
authorGlenn Randers-Pehrson <glennrp@gmail.com>
Sun, 16 Jul 2017 23:47:45 +0000 (19:47 -0400)
committerGlenn Randers-Pehrson <glennrp@gmail.com>
Sun, 16 Jul 2017 23:47:45 +0000 (19:47 -0400)
coders/png.c

index 95f5407781a4e72cfab372ccafc99b5b844d485c..a749fe14f58df7893293f5096351abd3f4237cf9 100644 (file)
@@ -11586,7 +11586,7 @@ static MagickBooleanType WriteOnePNGImage(MngInfo *mng_info,
                if (length < 7)
                  {
                    ping_profile=DestroyStringInfo(ping_profile);
-                   break;  /* othewise crashes */
+                   break;  /* otherwise crashes */
                  }
 
                /* skip the "Exif\0\0" JFIF Exif Header ID */