[poppler] poppler/SignatureHandler.cc
Albert Astals Cid
aacid at kemper.freedesktop.org
Tue May 3 23:30:28 UTC 2016
poppler/SignatureHandler.cc | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit 86572d7d2835fdd77e82eeb428e3a56c2d0f271d
Author: Albert Astals Cid <aacid at kde.org>
Date: Wed May 4 01:27:54 2016 +0200
Fix memory leak in SignatureHandler::getDefaultFirefoxCertDB_Linux
diff --git a/poppler/SignatureHandler.cc b/poppler/SignatureHandler.cc
index 96de8f3..a5132a4 100644
--- a/poppler/SignatureHandler.cc
+++ b/poppler/SignatureHandler.cc
@@ -6,7 +6,7 @@
//
// Copyright 2015, 2016 André Guerreiro <aguerreiro1985 at gmail.com>
// Copyright 2015 André Esser <bepandre at hotmail.com>
-// Copyright 2015 Albert Astals Cid <aacid at kde.org>
+// Copyright 2015, 2016 Albert Astals Cid <aacid at kde.org>
// Copyright 2015 Markus Kilås <digital at markuspage.com>
//
//========================================================================
@@ -82,6 +82,7 @@ GooString *SignatureHandler::getDefaultFirefoxCertDB_Linux()
} while (subFolder != NULL);
closedir(toSearchIn);
+ delete homePath;
return NULL;
}
More information about the poppler
mailing list