]> granicus.if.org Git - imagemagick/commitdiff
Set user_info to null when the file is set.
authorDirk Lemstra <dirk@git.imagemagick.org>
Sun, 29 Jan 2017 17:15:39 +0000 (18:15 +0100)
committerDirk Lemstra <dirk@git.imagemagick.org>
Sun, 29 Jan 2017 17:15:39 +0000 (18:15 +0100)
MagickCore/image.c

index 48e940b6131e26ab2d75d0d05cc9531cfa892899..9292cc153128a096c0df92dcbe16d871a60c998d 100644 (file)
@@ -2918,6 +2918,7 @@ MagickExport void SetImageInfoFile(ImageInfo *image_info,FILE *file)
   if (image_info->debug != MagickFalse)
     (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",
       image_info->filename);
+  image_info->user_info=(UserBlobInfo *) NULL;
   image_info->file=file;
 }
 \f