From 8bbab0d015ea47452cac77c8fbf2b5e7a1f5eab1 Mon Sep 17 00:00:00 2001 From: Jean Guyomarc'h Date: Fri, 6 May 2016 22:12:39 +0200 Subject: ecore_file: fix memory leak @fix --- src/lib/ecore_file/ecore_file_monitor_inotify.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/lib/ecore_file') 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; } -- cgit v1.2.1