mirror of
https://github.com/libretro/RetroArch
synced 2025-03-30 16:20:27 +00:00
fix potential double free error
This commit is contained in:
parent
99850df96e
commit
69e5e97bdf
@ -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…
x
Reference in New Issue
Block a user