Fixed memory leaks at -V

This commit is contained in:
Olof hagsand 2024-02-18 22:42:12 +01:00
parent 8f2601bfdf
commit 9bc60abe2e
6 changed files with 11 additions and 7 deletions

View file

@ -846,7 +846,7 @@ main(int argc,
if (print_version){
if (clixon_plugin_version_all(h, stdout) < 0)
goto done;
exit(0);
goto ok;
}
/* Load Yang modules
* 1. Load a yang module as a specific absolute filename */