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…
Reference in New Issue