utils/pdftotext.cc |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

New commits:
commit d775420c3c6cb5a29ff74712d3fc210fcb4b4627
Author: Albert Astals Cid <[email protected]>
Date:   Sat Feb 19 11:19:57 2011 +0000

    Do not delete textOut twice when using -bbox

diff --git a/utils/pdftotext.cc b/utils/pdftotext.cc
index 4d5cd09..5676680 100644
--- a/utils/pdftotext.cc
+++ b/utils/pdftotext.cc
@@ -16,7 +16,7 @@
 // under GPL version 2 or later
 //
 // Copyright (C) 2006 Dominic Lachowicz <[email protected]>
-// Copyright (C) 2007-2008, 2010 Albert Astals Cid <[email protected]>
+// Copyright (C) 2007-2008, 2010, 2011 Albert Astals Cid <[email protected]>
 // Copyright (C) 2009 Jan Jockusch <[email protected]>
 // Copyright (C) 2010 Hib Eris <[email protected]>
 // Copyright (C) 2010 Kenneth Berland <[email protected]>
@@ -362,7 +362,6 @@ int main(int argc, char *argv[]) {
       fprintf(f, "</doc>\n");
     }
     fclose(f);
-    delete textOut;
   } else {
     textOut = new TextOutputDev(textFileName->getCString(),
                                physLayout, rawOrder, htmlMeta);
_______________________________________________
poppler mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/poppler

Reply via email to