Try to allocate our engine info structure.
authorChristopher Michael <cp.michael@samsung.com>
Thu, 24 Jan 2013 09:15:12 +0000 (09:15 +0000)
committerChristopher Michael <cpmichael1@comcast.net>
Thu, 24 Jan 2013 09:15:12 +0000 (09:15 +0000)
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83230

src/modules/evas/engines/wayland_shm/evas_engine.c

index 6394e5fc6b4bbea2a84fdfbb1b4c2a89010c4791..85725a9920b5c55f8988f23580fdcb67b82f78e4 100644 (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;
 }