From 6120f8bc1b77ebecd91ccc7501d1176effe2bef0 Mon Sep 17 00:00:00 2001 From: Cristy Date: Sat, 6 Apr 2019 17:52:03 -0400 Subject: [PATCH] https://github.com/ImageMagick/ImageMagick/pull/1538 --- coders/pdf.c | 1 + coders/ps.c | 1 + 2 files changed, 2 insertions(+) diff --git a/coders/pdf.c b/coders/pdf.c index 77c90eb06..e2d96b866 100644 --- a/coders/pdf.c +++ b/coders/pdf.c @@ -242,6 +242,7 @@ static MagickBooleanType InvokePDFDelegate(const MagickBooleanType verbose, SetArgsStart(command,args_start); (void) fputs(args_start,stdout); } + interpreter=(gs_main_instance *) NULL; errors=(char *) NULL; status=(ghost_info->new_instance)(&interpreter,(void *) &errors); if (status < 0) diff --git a/coders/ps.c b/coders/ps.c index e0288b099..cfc0f82ce 100644 --- a/coders/ps.c +++ b/coders/ps.c @@ -232,6 +232,7 @@ static MagickBooleanType InvokePostscriptDelegate( SetArgsStart(command,args_start); (void) fputs(args_start,stdout); } + interpreter=(gs_main_instance *) NULL; errors=(char *) NULL; status=(ghost_info->new_instance)(&interpreter,(void *) &errors); if (status < 0) -- 2.40.0