projects
/
platform
/
upstream
/
glib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0934230
)
inotify: fix a memleak
author
Cosimo Cecchi
<cosimoc@gnome.org>
Sun, 20 Jan 2013 18:12:49 +0000
(13:12 -0500)
committer
Cosimo Cecchi
<cosimoc@gnome.org>
Mon, 21 Jan 2013 14:51:09 +0000
(09:51 -0500)
https://bugzilla.gnome.org/show_bug.cgi?id=692201
gio/inotify/inotify-path.c
patch
|
blob
|
history
diff --git
a/gio/inotify/inotify-path.c
b/gio/inotify/inotify-path.c
index
27e9756
..
4025837
100644
(file)
--- 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);
}