aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ephy-file-helpers.c
diff options
context:
space:
mode:
authorClaudio Saavedra <csaavedra@igalia.com>2012-09-04 16:52:56 +0800
committerClaudio Saavedra <csaavedra@igalia.com>2012-09-04 16:52:56 +0800
commitd829f324c2c9741e06d7e8e9cd8088c185389031 (patch)
treedff97bf0f4034374caa8dce58a66d9f649500e2d /lib/ephy-file-helpers.c
parent58d7029067c993bb10350953fa9a05723fd50459 (diff)
downloadgsoc2013-epiphany-d829f324c2c9741e06d7e8e9cd8088c185389031.tar
gsoc2013-epiphany-d829f324c2c9741e06d7e8e9cd8088c185389031.tar.gz
gsoc2013-epiphany-d829f324c2c9741e06d7e8e9cd8088c185389031.tar.bz2
gsoc2013-epiphany-d829f324c2c9741e06d7e8e9cd8088c185389031.tar.lz
gsoc2013-epiphany-d829f324c2c9741e06d7e8e9cd8088c185389031.tar.xz
gsoc2013-epiphany-d829f324c2c9741e06d7e8e9cd8088c185389031.tar.zst
gsoc2013-epiphany-d829f324c2c9741e06d7e8e9cd8088c185389031.zip
ephy-file-helpers: plug a leak
recursive delete function is leaking a reference.
Diffstat (limited to 'lib/ephy-file-helpers.c')
-rw-r--r--lib/ephy-file-helpers.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/ephy-file-helpers.c b/lib/ephy-file-helpers.c
index 628d3b156..4492f7f1c 100644
--- a/lib/ephy-file-helpers.c
+++ b/lib/ephy-file-helpers.c
@@ -950,6 +950,7 @@ ephy_file_delete_dir_recursively (GFile *directory, GError **error)
ret = g_file_delete (child, NULL, error);
g_object_unref (info);
+ g_object_unref (child);
if (!ret)
goto out;