--- libs/gcr/document.cc.orig	2016-03-28 01:15:28.000000000 -0700
+++ libs/gcr/document.cc	2016-04-04 12:07:58.000000000 -0700
@@ -1794,7 +1794,7 @@
 		if (error) {
 			g_message ("GIO error: %s", error->message);
 			g_error_free (error);
-			g_object_unref (file);
+			// g_object_unref (file);
 			throw (int) 1;
 		}
 		buf->context = output;
