forked from enlightenment/efl
evas-drm: Set Magic on the Ecore_Evas
@bugfix: Set magic on the ecore_evas Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
parent
b42af265be
commit
b184d140a2
|
@ -122,12 +122,17 @@ ecore_evas_drm_new_internal(const char *device, unsigned int parent, int x, int
|
|||
return NULL;
|
||||
}
|
||||
|
||||
/* try to allocate space for new ecore_evas */
|
||||
if (!(ee = calloc(1, sizeof(Ecore_Evas))))
|
||||
{
|
||||
ERR("Failed to allocate space for new Ecore_Evas");
|
||||
return NULL;
|
||||
}
|
||||
|
||||
ECORE_MAGIC_SET(ee, ECORE_MAGIC_EVAS);
|
||||
|
||||
/* try to init drm */
|
||||
|
||||
return ee;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue