1
0
mirror of https://github.com/libretro/RetroArch synced 2025-04-01 22:20:31 +00:00

video_lima: plug potential memory leak

This commit is contained in:
Tobias Jakobi 2014-02-24 21:03:35 +01:00
parent c5547bf9e1
commit 117a1ff64b

@ -574,7 +574,7 @@ static void *lima_gfx_init(const video_info_t *video, const input_driver_t **inp
vid->rgui_alpha = 1.0f; vid->rgui_alpha = 1.0f;
lima = calloc(1, sizeof(limare_data_t)); lima = calloc(1, sizeof(limare_data_t));
if (!lima) return NULL; if (!lima) goto fail;
/* Request the Exynos DRM backend for rendering. */ /* Request the Exynos DRM backend for rendering. */
limare_config.type = LIMARE_WINDOWSYS_DRM; limare_config.type = LIMARE_WINDOWSYS_DRM;