Try to free the allocated engine info structure.

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

SVN revision: 83233
This commit is contained in:
Christopher Michael 2013-01-24 09:15:53 +00:00 committed by Christopher Michael
parent 80f8fcfeeb
commit 57bb76834d
1 changed files with 4 additions and 0 deletions

View File

@ -75,7 +75,11 @@ eng_info(Evas *eo_evas EINA_UNUSED)
static void
eng_info_free(Evas *eo_evas EINA_UNUSED, void *einfo)
{
Evas_Engine_Info_Wayland_Shm *info;
/* try to free previously allocated engine info */
if ((info = (Evas_Engine_Info_Wayland_Shm *)einfo))
free(info);
}
static int