mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-28 14:23:30 +01:00
c99 style in loop
This commit is contained in:
parent
3507fead10
commit
1e71e2c104
@ -124,8 +124,7 @@ tor_main_configuration_free(tor_main_configuration_t *cfg)
|
|||||||
if (cfg == NULL)
|
if (cfg == NULL)
|
||||||
return;
|
return;
|
||||||
if (cfg->argv_owned) {
|
if (cfg->argv_owned) {
|
||||||
int i;
|
for (int i = 0; i < cfg->argc_owned; ++i) {
|
||||||
for (i = 0; i < cfg->argc_owned; ++i) {
|
|
||||||
raw_free(cfg->argv_owned[i]);
|
raw_free(cfg->argv_owned[i]);
|
||||||
}
|
}
|
||||||
raw_free(cfg->argv_owned);
|
raw_free(cfg->argv_owned);
|
||||||
|
Loading…
Reference in New Issue
Block a user