Fixed several backend memory leacks
This commit is contained in:
parent
01327fc8f0
commit
8f2601bfdf
3 changed files with 10 additions and 3 deletions
|
|
@ -253,6 +253,8 @@ startup_common(clixon_handle h,
|
|||
goto done;
|
||||
if (xmldb_dump(h, stdout, xt, WITHDEFAULTS_REPORT_ALL) < 0)
|
||||
goto done;
|
||||
if (xt)
|
||||
xml_free(xt);
|
||||
exit(0); /* This is fairly abrupt , but need to avoid side-effects of rewinding
|
||||
stack. Alternative is to make a separate function stack for this. */
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue