1
0
mirror of https://github.com/libretro/RetroArch synced 2025-02-23 15:40:35 +00:00

drm_gfx: Fix memory leak in fail case

This commit is contained in:
Lioncash 2016-11-25 12:05:45 -05:00
parent 3bd4739cee
commit bc28d46bbb

@ -728,6 +728,7 @@ static void *drm_gfx_init(const video_info_t *video,
if (!init_drm())
{
RARCH_ERR ("DRM: Failed to initialize DRM\n");
free(_drmvars);
return NULL;
}
else