Fix same -V version string

Restconf exit segv
This commit is contained in:
Olof hagsand 2024-02-17 22:04:21 +01:00
parent 6ff1588397
commit 3b0b734de1
11 changed files with 11 additions and 10 deletions

View file

@ -376,9 +376,9 @@ restconf_terminate(clixon_handle h)
if ((x = clicon_conf_xml(h)) != NULL)
xml_free(x);
xpath_optimize_exit();
restconf_handle_exit(h);
clixon_err_exit();
clixon_debug(CLIXON_DBG_RESTCONF, "pid:%u done", getpid());
restconf_handle_exit(h);
clixon_log_exit(); /* Must be after last clixon_debug */
return 0;
}