forked from enlightenment/efl
don't try to remove monitors if non has been added before
SVN revision: 42087
This commit is contained in:
parent
d3d9560eb1
commit
17cb74c23f
|
@ -160,7 +160,8 @@ ecore_file_monitor_poll_del(Ecore_File_Monitor *em)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
_monitors = ECORE_FILE_MONITOR(eina_inlist_remove(EINA_INLIST_GET(_monitors), EINA_INLIST_GET(em)));
|
if (_monitors)
|
||||||
|
_monitors = ECORE_FILE_MONITOR(eina_inlist_remove(EINA_INLIST_GET(_monitors), EINA_INLIST_GET(em)));
|
||||||
|
|
||||||
free(em->path);
|
free(em->path);
|
||||||
free(em);
|
free(em);
|
||||||
|
|
Loading…
Reference in New Issue