From: Cosimo Cecchi Date: Sun, 20 Jan 2013 18:12:49 +0000 (-0500) Subject: inotify: fix a memleak X-Git-Tag: 2.35.6~54 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=40f8e15c1b07f46d36b16cf8bcf9fce7f1a73c54;p=platform%2Fupstream%2Fglib.git inotify: fix a memleak https://bugzilla.gnome.org/show_bug.cgi?id=692201 --- diff --git a/gio/inotify/inotify-path.c b/gio/inotify/inotify-path.c index 27e9756..4025837 100644 --- a/gio/inotify/inotify-path.c +++ b/gio/inotify/inotify-path.c @@ -414,6 +414,7 @@ ip_watched_dir_free (ip_watched_dir_t *dir) g_assert_cmpint (g_hash_table_size (dir->files_hash), ==, 0); g_assert (dir->subs == NULL); g_free (dir->path); + g_hash_table_unref (dir->files_hash); g_free (dir); }