aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/ecore_file/ecore_file_monitor_inotify.c
diff options
context:
space:
mode:
authorJean Guyomarc'h <jean.guyomarch@gmail.com>2016-05-06 22:12:39 +0200
committerJean Guyomarc'h <jean.guyomarch@gmail.com>2016-05-06 22:18:57 +0200
commit8bbab0d015ea47452cac77c8fbf2b5e7a1f5eab1 (patch)
treee6e640c08b5477ceae277445c3c7aeb70e272449 /src/lib/ecore_file/ecore_file_monitor_inotify.c
parenteina: fix typos in tmpstr doc (diff)
downloadefl-8bbab0d015ea47452cac77c8fbf2b5e7a1f5eab1.tar.gz
ecore_file: fix memory leak
@fix
Diffstat (limited to '')
-rw-r--r--src/lib/ecore_file/ecore_file_monitor_inotify.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/ecore_file/ecore_file_monitor_inotify.c b/src/lib/ecore_file/ecore_file_monitor_inotify.c
index fa214213e8..dc84d4428a 100644
--- a/src/lib/ecore_file/ecore_file_monitor_inotify.c
+++ b/src/lib/ecore_file/ecore_file_monitor_inotify.c
@@ -95,6 +95,8 @@ ecore_file_monitor_backend_shutdown(void)
if (fd > -1)
close(fd);
}
+ eina_hash_free(monitor_hash);
+ monitor_hash = NULL;
_inotify_fd_pid = -1;
return 1;
}