mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-23 03:25:27 +00:00
(task_wifi.c) Prevent memory leak for title
This commit is contained in:
parent
8e76c4a131
commit
7e89335392
@ -29,6 +29,7 @@ static void task_wifi_scan_handler(retro_task_t *task)
|
||||
driver_wifi_scan();
|
||||
|
||||
task_set_progress(task, 100);
|
||||
task_free_title(task);
|
||||
task_set_title(task, strdup(msg_hash_to_str(MSG_WIFI_SCAN_COMPLETE)));
|
||||
task_set_finished(task, true);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user