diff options
author | Jean Guyomarc'h <jean.guyomarch@gmail.com> | 2016-05-06 22:12:39 +0200 |
---|---|---|
committer | Jean Guyomarc'h <jean.guyomarch@gmail.com> | 2016-05-06 22:18:57 +0200 |
commit | 8bbab0d015ea47452cac77c8fbf2b5e7a1f5eab1 (patch) | |
tree | e6e640c08b5477ceae277445c3c7aeb70e272449 /src/lib/ecore_file/ecore_file_monitor_inotify.c | |
parent | ccbe4579a3deb940f51432d08fff8a4299551e85 (diff) |
ecore_file: fix memory leak
@fix
Diffstat (limited to '')
-rw-r--r-- | src/lib/ecore_file/ecore_file_monitor_inotify.c | 2 |
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 | } |