Fixed: [state showing error in cli with CLICON_STREAM_DISCOVERY_RFC8040 #191](https://github.com/clicon/clixon/issues/191)

This commit is contained in:
Olof hagsand 2021-03-18 10:41:08 +01:00
parent afdf6ffcf8
commit 43db8dd5c5
12 changed files with 16 additions and 34 deletions

View file

@ -588,9 +588,9 @@ netconf_terminate(clicon_handle h)
rpc_callback_delete_all(h);
clicon_rpc_close_session(h);
if ((yspec = clicon_dbspec_yang(h)) != NULL)
yspec_free(yspec);
ys_free(yspec);
if ((yspec = clicon_config_yang(h)) != NULL)
yspec_free(yspec);
ys_free(yspec);
if ((nsctx = clicon_nsctx_global_get(h)) != NULL)
cvec_free(nsctx);
if ((x = clicon_conf_xml(h)) != NULL)