36 lines
940 B
Diff
36 lines
940 B
Diff
From a73c27e2a014c7777724752c319d39a9a3d12bf0 Mon Sep 17 00:00:00 2001
|
|
From: Johannes Brechtmann <johannes@jnbr.me>
|
|
Date: Sat, 6 Apr 2019 23:15:02 +0200
|
|
Subject: [PATCH] initialise ghostscript instances with NULL
|
|
|
|
---
|
|
coders/pdf.c | 2 +-
|
|
coders/ps.c | 2 +-
|
|
2 files changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/coders/pdf.c b/coders/pdf.c
|
|
index 77c90eb064..be8e44b60c 100644
|
|
--- coders/pdf.c
|
|
+++ coders/pdf.c
|
|
@@ -197,7 +197,7 @@ static MagickBooleanType InvokePDFDelegate(const MagickBooleanType verbose,
|
|
*ghost_info;
|
|
|
|
gs_main_instance
|
|
- *interpreter;
|
|
+ *interpreter = NULL;
|
|
|
|
gsapi_revision_t
|
|
revision;
|
|
diff --git a/coders/ps.c b/coders/ps.c
|
|
index e0288b0990..ecb49ffe39 100644
|
|
--- coders/ps.c
|
|
+++ coders/ps.c
|
|
@@ -187,7 +187,7 @@ static MagickBooleanType InvokePostscriptDelegate(
|
|
*ghost_info;
|
|
|
|
gs_main_instance
|
|
- *interpreter;
|
|
+ *interpreter = NULL;
|
|
|
|
gsapi_revision_t
|
|
revision;
|