clixon_util_path did not sort XML properly

This commit is contained in:
Olof hagsand 2020-02-08 17:00:47 +01:00
parent a674af6f2c
commit 5831c053fa
6 changed files with 24 additions and 10 deletions

View file

@ -120,8 +120,6 @@ main(int argc,
goto done;
if (clicon_conf_xml_set(h, xcfg) < 0)
goto done;
xcfg = xml_new("clixon-config", NULL, NULL);
clicon_conf_xml_set(h, xcfg);
optind = 1;
@ -264,6 +262,8 @@ main(int argc,
done:
if (cbret)
cbuf_free(cbret);
if (xcfg)
xml_free(xcfg);
if (xt)
xml_free(xt);
if (cb)