mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
Moved dir_list_free
This commit is contained in:
parent
a107678f0d
commit
c1014ee305
@ -250,7 +250,6 @@ static bool gfx_ctx_init(void *data)
|
||||
nextgpu:
|
||||
if (gpu_index == gpu_descriptors->size)
|
||||
{
|
||||
dir_list_free(gpu_descriptors);
|
||||
RARCH_ERR("[KMS/EGL]: Couldn't find a suitable DRM device.\n");
|
||||
goto error;
|
||||
}
|
||||
@ -332,6 +331,7 @@ nextgpu:
|
||||
goto nextgpu;
|
||||
}
|
||||
|
||||
dir_list_free(gpu_descriptors);
|
||||
return true;
|
||||
|
||||
error:
|
||||
|
Loading…
x
Reference in New Issue
Block a user