forked from enlightenment/efl
parent
cedba3f7d9
commit
c08f0d5d97
|
@ -151,11 +151,9 @@ _get_syspath_from_watch(void *data, Ecore_Fd_Handler *fd_handler)
|
||||||
ret = udev_device_get_syspath(device);
|
ret = udev_device_get_syspath(device);
|
||||||
if (!ret)
|
if (!ret)
|
||||||
goto error;
|
goto error;
|
||||||
ret = eina_stringshare_add(ret);
|
(*func)(eina_stringshare_add(ret), test, sdata, watch);
|
||||||
(*func)(ret, test, sdata, watch);
|
|
||||||
error:
|
error:
|
||||||
udev_device_unref(device);
|
udev_device_unref(device);
|
||||||
eina_stringshare_del(ret);
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue