summaryrefslogtreecommitdiff
path: root/src/lib/ecore_file
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
parentccbe4579a3deb940f51432d08fff8a4299551e85 (diff)
ecore_file: fix memory leak
@fix
Diffstat (limited to 'src/lib/ecore_file')
-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)
95 if (fd > -1) 95 if (fd > -1)
96 close(fd); 96 close(fd);
97 } 97 }
98 eina_hash_free(monitor_hash);
99 monitor_hash = NULL;
98 _inotify_fd_pid = -1; 100 _inotify_fd_pid = -1;
99 return 1; 101 return 1;
100} 102}