forked from enlightenment/efl
ecore-drm: Fix _device_add function to check input
Summary: Add condition to check if input is NULL in _device_add function @fix Signed-off-by: vivek <vivek.ellur@samsung.com> Reviewers: devilhorns Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D1493
This commit is contained in:
parent
4483ef20d3
commit
4d54525d47
|
@ -149,6 +149,8 @@ _device_add(Ecore_Drm_Input *input, const char *device)
|
|||
Ecore_Drm_Device_Open_Data *data;
|
||||
const char *devseat, *wlseat;
|
||||
|
||||
if (!input) return EINA_FALSE;
|
||||
|
||||
DBG("Add Input Device: %s", device);
|
||||
|
||||
if (!(devseat = eeze_udev_syspath_get_property(device, "ID_SEAT")))
|
||||
|
|
Loading…
Reference in New Issue