forked from enlightenment/efl
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:
parent
80f8fcfeeb
commit
57bb76834d
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue