aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGiovanni Campagna <gcampagna@src.gnome.org>2012-03-01 06:40:57 +0800
committerGiovanni Campagna <gcampagna@src.gnome.org>2012-03-01 08:22:55 +0800
commitbc3aa414e124d3b57712e357d1ad0fb2b1c43f29 (patch)
tree1aeabbd9b606228d706030b9362e602cc7537116
parent62cfaba5eba42b0c67f6f054e6e103a9c1f6751c (diff)
downloadgsoc2013-epiphany-bc3aa414e124d3b57712e357d1ad0fb2b1c43f29.tar
gsoc2013-epiphany-bc3aa414e124d3b57712e357d1ad0fb2b1c43f29.tar.gz
gsoc2013-epiphany-bc3aa414e124d3b57712e357d1ad0fb2b1c43f29.tar.bz2
gsoc2013-epiphany-bc3aa414e124d3b57712e357d1ad0fb2b1c43f29.tar.lz
gsoc2013-epiphany-bc3aa414e124d3b57712e357d1ad0fb2b1c43f29.tar.xz
gsoc2013-epiphany-bc3aa414e124d3b57712e357d1ad0fb2b1c43f29.tar.zst
gsoc2013-epiphany-bc3aa414e124d3b57712e357d1ad0fb2b1c43f29.zip
Plug a memory leak
Free GFiles created during argv parsing. https://bugzilla.gnome.org/show_bug.cgi?id=671095
-rw-r--r--lib/ephy-string.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/ephy-string.c b/lib/ephy-string.c
index fe5f47cd3..671ed55bf 100644
--- a/lib/ephy-string.c
+++ b/lib/ephy-string.c
@@ -533,6 +533,7 @@ ephy_string_commandline_args_to_uris (char **arguments, GError **error)
return NULL;
}
}
+ g_object_unref (file);
}
return args;