Commit 5c28b47b authored by Albert Astals Cid's avatar Albert Astals Cid
Browse files

Fix leak introduced in 0e6c3ff9

parent 2b822714
Pipeline #251999 passed with stage
in 4 minutes and 34 seconds
......@@ -1715,6 +1715,7 @@ GfxColorSpace *GfxICCBasedColorSpace::parse(Array *arr, OutputDev *out, GfxState
obj1 = arr->get(1);
if (!obj1.isStream()) {
error(errSyntaxWarning, -1, "Bad ICCBased color space (stream)");
delete cs;
return nullptr;
unsigned char *profBuf;
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