eio: and don't forget to initialize.

SVN revision: 70885
This commit is contained in:
Cedric BAIL 2012-05-09 07:46:12 +00:00
parent 8f61823f67
commit 0f037d5b58
1 changed files with 1 additions and 0 deletions

View File

@ -299,6 +299,7 @@ eio_monitor_stringshared_add(const char *path)
monitor->path = eina_stringshare_ref(path);
monitor->fallback = EINA_FALSE;
monitor->rename = EINA_FALSE;
monitor->delete_me = EINA_FALSE;
EINA_REFCOUNT_INIT(monitor);
EINA_REFCOUNT_REF(monitor); /* as we spawn a thread for this monitor, we need to refcount specifically for it */