(MaterialUI) Fix memory leak

This commit is contained in:
Twinaphex 2017-09-29 21:38:27 +02:00
parent bae31a318d
commit fc79569682

View File

@ -685,6 +685,7 @@ static void mui_compute_entries_box(mui_handle_t* mui, int width)
texture_switch2 = node->texture_switch2; texture_switch2 = node->texture_switch2;
sublabel_str = menu_entry_get_sublabel(&entry); sublabel_str = menu_entry_get_sublabel(&entry);
menu_entry_free(&entry);
if (sublabel_str) if (sublabel_str)
{ {