summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2014-12-10 12:13:33 -0500
committerChris Michael <cp.michael@samsung.com>2014-12-10 12:13:33 -0500
commit7fbe17f5c44e4f2eb75ec88d937a7dc9d4c26cf2 (patch)
treec285541a60302b4600fb9ff07e9842c962ba23fd
parent5720a350f995c017efc1bf5d4472856dc7552962 (diff)
ecore-drm: Fix formatting
Summary: No functional changes, just formatting fixes Signed-off-by: Chris Michael <cp.michael@samsung.com>
-rw-r--r--src/lib/ecore_drm/ecore_drm.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/lib/ecore_drm/ecore_drm.c b/src/lib/ecore_drm/ecore_drm.c
index 1bbd49caa0..81a6fa9500 100644
--- a/src/lib/ecore_drm/ecore_drm.c
+++ b/src/lib/ecore_drm/ecore_drm.c
@@ -24,9 +24,11 @@ _ecore_drm_event_activate_send(Eina_Bool active)
24{ 24{
25 Ecore_Drm_Event_Activate *e; 25 Ecore_Drm_Event_Activate *e;
26 26
27 e = calloc(1, sizeof(Ecore_Drm_Event_Activate)); 27 if (!(e = calloc(1, sizeof(Ecore_Drm_Event_Activate)))) return;
28
28 e->active = active; 29 e->active = active;
29 ecore_event_add(ECORE_DRM_EVENT_ACTIVATE, e, _ecore_drm_event_activate_free, NULL); 30 ecore_event_add(ECORE_DRM_EVENT_ACTIVATE, e,
31 _ecore_drm_event_activate_free, NULL);
30} 32}
31 33
32/** 34/**