ecore-drm: Fix ecore_drm_launcher_device_close to not cause segfaults
authorChris Michael <cp.michael@samsung.com>
Tue, 9 Dec 2014 20:12:36 +0000 (15:12 -0500)
committerChris Michael <cp.michael@samsung.com>
Tue, 9 Dec 2014 20:12:36 +0000 (15:12 -0500)
commita5654dbb247e23e54d741a801f3543613935f852
treebe243232989353b9ea77bcbd542529655ce42afc
parent7da19b4c21f5a4f6abcfaf334e995a5a0222340b
ecore-drm: Fix ecore_drm_launcher_device_close to not cause segfaults

Summary: We can only call _ecore_drm_logind_device_close if we have an
actual device string. It is possible that this Could get called with
NULL, and thus cause a crash.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
src/lib/ecore_drm/ecore_drm_launcher.c