Try to allocate our engine info structure.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 83230
This commit is contained in:
Christopher Michael 2013-01-24 09:15:12 +00:00 committed by Christopher Michael
parent 3cdf6d6a50
commit c13e0e7b5f
1 changed files with 6 additions and 0 deletions

View File

@ -58,6 +58,12 @@ int _evas_engine_way_shm_log_dom = -1;
static void *
eng_info(Evas *eo_evas EINA_UNUSED)
{
Evas_Engine_Info_Wayland_Shm *info;
/* try to allocate space for engine info */
if (!(info = calloc(1, sizeof(Evas_Engine_Info_Wayland_Shm))))
return NULL;
return NULL;
}