restconf fcgi mem leak in indata

test pkill needs sleep before name settles
This commit is contained in:
Olof hagsand 2021-06-27 16:32:10 +02:00
parent df05acdc9e
commit 3539a80d5e
6 changed files with 19 additions and 10 deletions

View file

@ -588,6 +588,10 @@ api_root_restconf(clicon_handle h,
retval = 0;
done:
clicon_debug(1, "%s retval:%d", __FUNCTION__, retval);
#ifdef WITH_RESTCONF_FCGI
if (cb)
cbuf_free(cb);
#endif
if (xerr)
xml_free(xerr);
if (username)