[epiphany] window-commands: unref the stream when we are done with it



commit 108eade49982245d1ffcf30159707554cdb63d69
Author: Xan Lopez <xan gnome org>
Date:   Mon Sep 7 14:02:19 2009 +0300

    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 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/window-commands.c b/src/window-commands.c
index 8af9ef9..c819ac5 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);
 }
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]