menu_list_push - early return if label is NULL

This commit is contained in:
twinaphex 2015-01-31 05:00:35 +01:00
parent 92ad93ea5d
commit cc56ca7c42

View File

@ -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);