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

@ -786,7 +786,8 @@ main(int argc,
if (print_version){
if (clixon_plugin_version_all(h, stdout) < 0)
goto done;
exit(0);
retval = 0;
goto done;
}
/* Add (hardcoded) netconf features in case ietf-netconf loaded here
* Otherwise it is loaded in netconf_module_load below