Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Free conf_opt, conf_arg upon error in config-file parsing
This moves conf_opt and conf_arg into the "global" bsdtar struct because if there's a config file error, we'll exit inside dooption(), leaving the previous local variables conf_opt and conf_arg un-freed.
- Loading branch information
Showing
2 changed files
with
26 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters