From: Christopher Michael Date: Thu, 24 Jan 2013 09:15:12 +0000 (+0000) Subject: Try to allocate our engine info structure. X-Git-Tag: submit/efl/20131015.063327~2067 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c13e0e7b5f5648d4bfbeaacdf594e51f3e1a0264;p=platform%2Fupstream%2Fefl.git Try to allocate our engine info structure. Signed-off-by: Christopher Michael SVN revision: 83230 --- diff --git a/src/modules/evas/engines/wayland_shm/evas_engine.c b/src/modules/evas/engines/wayland_shm/evas_engine.c index 6394e5fc6b..85725a9920 100644 --- a/src/modules/evas/engines/wayland_shm/evas_engine.c +++ b/src/modules/evas/engines/wayland_shm/evas_engine.c @@ -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; }