diff options
author | Cosimo Cecchi <cosimoc@gnome.org> | 2013-01-20 13:12:49 -0500 |
---|---|---|
committer | Cosimo Cecchi <cosimoc@gnome.org> | 2013-01-21 09:51:09 -0500 |
commit | 40f8e15c1b07f46d36b16cf8bcf9fce7f1a73c54 (patch) | |
tree | da48d0178c2bbb5a9d67856198b931cf285e4d68 /gio | |
parent | 09342300074f8cff5b91bb777d99f63bcda2666c (diff) | |
download | glib-40f8e15c1b07f46d36b16cf8bcf9fce7f1a73c54.tar.gz |
inotify: fix a memleak
https://bugzilla.gnome.org/show_bug.cgi?id=692201
Diffstat (limited to 'gio')
-rw-r--r-- | gio/inotify/inotify-path.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gio/inotify/inotify-path.c b/gio/inotify/inotify-path.c index 27e97563e..402583772 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); } |