summaryrefslogtreecommitdiff
path: root/science/gchemutils/files/patch-libs_gcr_document.cc
blob: e18f6a6d40d2f66f7501ff6309f23364e2d75895 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
--- libs/gcr/document.cc.orig	2016-11-23 13:05:34 UTC
+++ libs/gcr/document.cc
@@ -1794,7 +1794,6 @@ void Document::Save() const
 		if (error) {
 			g_message ("GIO error: %s", error->message);
 			g_error_free (error);
-			g_object_unref (file);
 			throw (int) 1;
 		}
 		buf->context = output;