ecore_file: fix memory leak

@fix
This commit is contained in:
Jean Guyomarc'h 2016-05-06 22:12:39 +02:00
parent ccbe4579a3
commit 8bbab0d015
1 changed files with 2 additions and 0 deletions

View File

@ -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;
}