mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-04-21 14:49:16 +02:00
inotify: fix a memleak
https://bugzilla.gnome.org/show_bug.cgi?id=692201
This commit is contained in:
parent
0934230007
commit
40f8e15c1b
@ -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_cmpint (g_hash_table_size (dir->files_hash), ==, 0);
|
||||||
g_assert (dir->subs == NULL);
|
g_assert (dir->subs == NULL);
|
||||||
g_free (dir->path);
|
g_free (dir->path);
|
||||||
|
g_hash_table_unref (dir->files_hash);
|
||||||
g_free (dir);
|
g_free (dir);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user