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

New commits:
commit 1b15715c501a4843396df73ca7965fd2d4078c9c
Author: Pino Toscano <[email protected]>
Date:   Sun Jan 11 00:40:46 2009 +0100

    fix a (relatively small) memory leak when asking for a document-level JS

diff --git a/poppler/Catalog.cc b/poppler/Catalog.cc
index 025c8a9..8fc66dc 100644
--- a/poppler/Catalog.cc
+++ b/poppler/Catalog.cc
@@ -453,6 +453,7 @@ GooString *Catalog::getJS(int i)
     obj.free();
     return 0;
   }
+  obj2.free();
   obj.dictLookup("JS", &obj2);
   GooString *js = 0;
   if (obj2.isString()) {
_______________________________________________
poppler mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/poppler

Reply via email to