mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-27 18:20:27 +00:00
Merge pull request #9900 from CheezeCake/fix-double-free
fix potential double free error
This commit is contained in:
commit
98618c052b
@ -729,6 +729,7 @@ bool core_updater_list_parse_network_data(
|
||||
|
||||
/* Temporary data buffer is no longer required */
|
||||
free(data_buf);
|
||||
data_buf = NULL;
|
||||
|
||||
/* Loop over lines */
|
||||
for (i = 0; i < network_core_list->size; i++)
|
||||
|
Loading…
Reference in New Issue
Block a user