[poppler] utils/pdftocairo.cc
Carlos Garcia Campos
carlosgc at kemper.freedesktop.org
Fri Dec 4 02:05:10 PST 2015
utils/pdftocairo.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 3686005cde6f0c0992498a1773b02331fce79b1c
Author: Carlos Garcia Campos <carlosgc at gnome.org>
Date: Fri Dec 4 11:03:27 2015 +0100
pdftocairo: Fix double free when both user and owner passwords are given
diff --git a/utils/pdftocairo.cc b/utils/pdftocairo.cc
index 0126e75..b2a1dc4 100644
--- a/utils/pdftocairo.cc
+++ b/utils/pdftocairo.cc
@@ -1150,7 +1150,7 @@ int main(int argc, char *argv[]) {
if (ownerPW)
delete ownerPW;
if (userPW)
- delete ownerPW;
+ delete userPW;
#if USE_CMS
cmsCloseProfile(profile);
More information about the poppler
mailing list