fuzzing restconf changes, json mem error

This commit is contained in:
Olof hagsand 2021-06-02 13:39:48 +02:00
parent 0ad577fa81
commit 37da0aa45e
9 changed files with 34 additions and 20 deletions

View file

@ -250,7 +250,6 @@ static int
json_empty_list(clixon_json_yacc *jy)
{
xml_rm(jy->jy_current);
xml_free(jy->jy_current);
jy->jy_current = NULL;
return 0;
}