mirror of
https://github.com/tio/tio.git
synced 2026-05-01 14:57:59 +02:00
Fix config file memory leak
This commit is contained in:
parent
94485ec9ac
commit
16c42bb9ae
1 changed files with 1 additions and 0 deletions
|
|
@ -323,6 +323,7 @@ void config_file_parse(void)
|
|||
fprintf(stderr, "Error: Unable to parse configuration file (%d)", ret);
|
||||
exit(EXIT_FAILURE);
|
||||
}
|
||||
free(c->section_name);
|
||||
c->section_name = NULL;
|
||||
|
||||
// Find matching section
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue