main: fix possible memory leak(s) when failing to load config
Before adoption: this commit came in with the history the project adopted, so no landing records it.
If the user has used command line options resulting in memory allocations in cmdline_overrides, and the config fails to load, we leak memory. Fix by freeing the cmdline_overrides conf in addition to the "normal" config.
authored by Daniel Eklöf · committed by Daniel Eklöf · parent 8aa4cc3 · Browse files · 1 file+2 added−0 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
1 file+2 added−0 removed
- other:+2 added−0 removed