Commit 30c731b4 authored by Adam Reichold's avatar Adam Reichold
Browse files

Properly initialize HtmlOutputDev::page to avoid SIGSEGV upon error exit.

Closes #742
parent c317087a
Pipeline #25759 passed with stages
in 16 minutes and 50 seconds
...@@ -1089,6 +1089,7 @@ HtmlOutputDev::HtmlOutputDev(Catalog *catalogA, const char *fileName, const char ...@@ -1089,6 +1089,7 @@ HtmlOutputDev::HtmlOutputDev(Catalog *catalogA, const char *fileName, const char
{ {
catalog = catalogA; catalog = catalogA;
fContentsFrame = nullptr; fContentsFrame = nullptr;
page = nullptr;
docTitle = new GooString(title); docTitle = new GooString(title);
pages = nullptr; pages = nullptr;
dumpJPEG=true; dumpJPEG=true;
......
Supports Markdown
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