Code

trying to fix pdf import crashes
authorbuliabyak <buliabyak@users.sourceforge.net>
Tue, 8 Jan 2008 07:09:27 +0000 (07:09 +0000)
committerbuliabyak <buliabyak@users.sourceforge.net>
Tue, 8 Jan 2008 07:09:27 +0000 (07:09 +0000)
src/extension/internal/pdfinput/pdf-input.cpp

index a6f3a4eb8fca39ef5a6707627b66ce3d98e4651c..e74e822c6b363c8894bfe95b892d83d64480d87d 100644 (file)
@@ -708,7 +708,7 @@ PdfInput::open(::Inkscape::Extension::Input * /*mod*/, const gchar * uri) {
     delete pdf_parser;
     delete builder;
     g_free(docname);
-    delete pdf_doc;
+    //delete pdf_doc;
 
     // Restore undo
     sp_document_set_undo_sensitive(doc, saved);