From d829f324c2c9741e06d7e8e9cd8088c185389031 Mon Sep 17 00:00:00 2001 From: Claudio Saavedra Date: Tue, 4 Sep 2012 11:52:56 +0300 Subject: ephy-file-helpers: plug a leak recursive delete function is leaking a reference. --- lib/ephy-file-helpers.c | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/ephy-file-helpers.c') 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; -- cgit v1.2.3