lib/edj_viewer: free eio_monitor properly.

This commit is contained in:
ChunEon Park 2014-11-01 20:13:59 +09:00
parent 0c315a64f8
commit 5c8ff06ba3
1 changed files with 1 additions and 0 deletions

View File

@ -174,6 +174,7 @@ edj_changed_cb(void *data, int type EINA_UNUSED, void *event)
if (vd->edj_monitor != ev->monitor) return ECORE_CALLBACK_PASS_ON;
//FIXME: why it need to add monitor again??
eio_monitor_del(vd->edj_monitor);
vd->edj_monitor = eio_monitor_add(build_edj_path_get());
if (!vd->edj_monitor) EINA_LOG_ERR("Failed to add Eio_Monitor!");