menu_list_push - early return if label is NULL
This commit is contained in:
parent
92ad93ea5d
commit
cc56ca7c42
|
@ -342,6 +342,8 @@ void menu_list_push(file_list_t *list,
|
|||
{
|
||||
if (!list)
|
||||
return;
|
||||
if (!label)
|
||||
return;
|
||||
|
||||
file_list_push(list, path, label, type, directory_ptr);
|
||||
|
||||
|
|
Loading…
Reference in New Issue