From 108eade49982245d1ffcf30159707554cdb63d69 Mon Sep 17 00:00:00 2001 From: Xan Lopez Date: Mon, 7 Sep 2009 14:02:19 +0300 Subject: window-commands: unref the stream when we are done with it Per the documentation of 'g_file_replace_finish'. --- src/window-commands.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/window-commands.c b/src/window-commands.c index 8af9ef9d8..c819ac559 100644 --- a/src/window-commands.c +++ b/src/window-commands.c @@ -637,6 +637,7 @@ save_temp_source_close_cb (GOutputStream *ostream, GAsyncResult *result, gpointe uri); } + g_object_unref (ostream); g_object_unref (file); } -- cgit v1.2.3