[poppler] poppler/CharCodeToUnicode.cc

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Sun Feb 7 18:05:07 UTC 2021


 poppler/CharCodeToUnicode.cc |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 0ea6219dd1f2531d44eacfc584e331ecb4b46fb8
Author: Albert Astals Cid <aacid at kde.org>
Date:   Sun Feb 7 18:59:24 2021 +0100

    CharCodeToUnicode::parseCMap1: Bring back the delete
    
    For some reason i deleted it on the previous commit

diff --git a/poppler/CharCodeToUnicode.cc b/poppler/CharCodeToUnicode.cc
index f7cc5be1..f05eeb08 100644
--- a/poppler/CharCodeToUnicode.cc
+++ b/poppler/CharCodeToUnicode.cc
@@ -471,6 +471,7 @@ bool CharCodeToUnicode::parseCMap1(int (*getCharFunc)(void *), void *data, int n
             strcpy(tok1, tok2);
         }
     }
+    delete pst;
     return ok;
 }
 


More information about the poppler mailing list