Commit bbcc7ca5 authored by Michael Natterer's avatar Michael Natterer 😴

Issue #3630 - postscript plugin crashes

gsapi_new_instance() now expects a pointer to a NULL-initialized
pointer. Initialize "void *instance" with NULL. Found by massimo.
parent ac4d0a6e
......@@ -1585,7 +1585,7 @@ ps_open (const gchar *filename,
gboolean is_pdf;
gboolean maybe_epsf = FALSE;
int code;
void *instance;
void *instance = NULL;
resolution = loadopt->resolution;
*llx = *lly = 0;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment