eio: properly shutdown monitor.

SVN revision: 74957
This commit is contained in:
Cedric BAIL 2012-08-07 04:12:07 +00:00
parent a85e67559e
commit 2547d07ea3
3 changed files with 7 additions and 0 deletions

View File

@ -13,3 +13,7 @@
2012-08-02 Cedric Bail
* Fix a memory leak when shutting down fallback monitor.
2012-08-07 Cedric Bail
* Properly shutdown monitor when calling eio_shutdown.

View File

@ -9,6 +9,7 @@ Fixes:
- build out of tree.
- detect when requesting to monitor a different file with the same name.
- memory leak when shutting down fallback monitor.
- properly shutdown monitor.
Improvements:

View File

@ -245,6 +245,8 @@ eio_shutdown(void)
if (_eio_count > 0) return _eio_count;
eio_monitor_shutdown();
EIO_MUTEX_DESTROY(direct_info_pool);
EIO_MUTEX_DESTROY(progress_pool);
EIO_MUTEX_DESTROY(char_pool);