aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXan Lopez <xan@gnome.org>2009-09-07 19:02:19 +0800
committerXan Lopez <xan@gnome.org>2009-09-07 19:02:19 +0800
commit108eade49982245d1ffcf30159707554cdb63d69 (patch)
treec86a6b3ee33c821621e2cd7cbcdb671c493b738b
parent5b2f1a52a131d3377d3e2d8246aab468502ba7cf (diff)
downloadgsoc2013-epiphany-108eade49982245d1ffcf30159707554cdb63d69.tar
gsoc2013-epiphany-108eade49982245d1ffcf30159707554cdb63d69.tar.gz
gsoc2013-epiphany-108eade49982245d1ffcf30159707554cdb63d69.tar.bz2
gsoc2013-epiphany-108eade49982245d1ffcf30159707554cdb63d69.tar.lz
gsoc2013-epiphany-108eade49982245d1ffcf30159707554cdb63d69.tar.xz
gsoc2013-epiphany-108eade49982245d1ffcf30159707554cdb63d69.tar.zst
gsoc2013-epiphany-108eade49982245d1ffcf30159707554cdb63d69.zip
window-commands: unref the stream when we are done with it
Per the documentation of 'g_file_replace_finish'.
-rw-r--r--src/window-commands.c1
1 files changed, 1 insertions, 0 deletions
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);
}