poppler/SignatureHandler.cc |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 86572d7d2835fdd77e82eeb428e3a56c2d0f271d
Author: Albert Astals Cid <[email protected]>
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 <[email protected]>
 // Copyright 2015 André Esser <[email protected]>
-// Copyright 2015 Albert Astals Cid <[email protected]>
+// Copyright 2015, 2016 Albert Astals Cid <[email protected]>
 // Copyright 2015 Markus KilÃ¥s <[email protected]>
 //
 //========================================================================
@@ -82,6 +82,7 @@ GooString *SignatureHandler::getDefaultFirefoxCertDB_Linux()
   } while (subFolder != NULL);
 
   closedir(toSearchIn);
+  delete homePath;
   return NULL;
 }
 
_______________________________________________
poppler mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/poppler

Reply via email to