rest memleak

This commit is contained in:
Olof hagsand 2017-06-07 20:23:38 +02:00
parent 91f91fe526
commit e06ac2e3d2
2 changed files with 1 additions and 4 deletions

View file

@ -336,7 +336,6 @@ api_data_post(clicon_handle h,
if (xml_addsub(xbot, x) < 0)
goto done;
}
xdata = NULL;
if ((cbx = cbuf_new()) == NULL)
goto done;
if (clicon_xml2cbuf(cbx, xtop, 0, 0) < 0)