inotify: fix a memleak

https://bugzilla.gnome.org/show_bug.cgi?id=692201
This commit is contained in:
Cosimo Cecchi 2013-01-20 13:12:49 -05:00
parent 0934230007
commit 40f8e15c1b

View File

@ -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);
}