[Telepathy-commits] [telepathy-mission-control/master] Fix memory leak
Alberto Mardegan
alberto.mardegan at nokia.com
Mon Jan 26 00:19:18 PST 2009
---
src/mcd-misc.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/mcd-misc.c b/src/mcd-misc.c
index 68335a7..73b6de6 100644
--- a/src/mcd-misc.c
+++ b/src/mcd-misc.c
@@ -47,6 +47,7 @@ scan_data_subdir (const gchar *dirname, McdXdgDataSubdirFunc callback,
{
g_warning ("Error opening directory %s: %s", dirname,
error->message);
+ g_clear_error (&error);
}
while ((filename = g_dir_read_name (dir)) != NULL)
--
1.5.6.5
More information about the Telepathy-commits
mailing list