devilhorns pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=4d54525d47e5c6ad93a967b760886348699df76e
commit 4d54525d47e5c6ad93a967b760886348699df76e Author: vivek <[email protected]> Date: Fri Sep 26 09:04:24 2014 -0400 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 <[email protected]> Reviewers: devilhorns Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D1493 --- src/lib/ecore_drm/ecore_drm_inputs.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lib/ecore_drm/ecore_drm_inputs.c b/src/lib/ecore_drm/ecore_drm_inputs.c index e568ed3..167f62e 100644 --- a/src/lib/ecore_drm/ecore_drm_inputs.c +++ b/src/lib/ecore_drm/ecore_drm_inputs.c @@ -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"))) --
