mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-11 20:44:24 +00:00
(MaterialUI) Fix memory leak
This commit is contained in:
parent
bae31a318d
commit
fc79569682
@ -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)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user