diff options
author | Albert Astals Cid <aacid@kde.org> | 2021-01-06 12:08:39 +0100 |
---|---|---|
committer | Albert Astals Cid <aacid@kde.org> | 2021-01-06 12:08:39 +0100 |
commit | 5c28b47bb4e89d10f82d80d3664384149f8f768d (patch) | |
tree | dec05ad2da1157ae6d5f53e2c3ae152cddb69856 | |
parent | 2b82271415000e776b54f0214d564d28170d9c6b (diff) |
Fix leak introduced in 0e6c3ff9bb4390d2b426a4cddbb638c19811055d
oss-fuzz/29305
-rw-r--r-- | poppler/GfxState.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/poppler/GfxState.cc b/poppler/GfxState.cc index a9ce7a89..8a713d8c 100644 --- a/poppler/GfxState.cc +++ b/poppler/GfxState.cc @@ -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; |