mirror of
https://github.com/libretro/RetroArch
synced 2025-04-01 04:20:27 +00:00
Fix Coverity resource leak warning
This commit is contained in:
parent
4b6c4e5a6a
commit
f36dfda328
@ -875,7 +875,11 @@ static void xmb_render_messagebox_internal(
|
||||
unsigned height = video_info->height;
|
||||
struct string_list *list = string_split(message, "\n");
|
||||
if (!list || !xmb)
|
||||
{
|
||||
if (list)
|
||||
string_list_free(list);
|
||||
return;
|
||||
}
|
||||
|
||||
if (list->elems == 0)
|
||||
goto end;
|
||||
|
Loading…
x
Reference in New Issue
Block a user