[SBI] Modified Exception handler on error (#2169)

This commit is contained in:
Sukchan Lee 2023-03-15 20:40:07 +09:00
parent 5f377d0126
commit 6b17bffdfd
646 changed files with 4920 additions and 735 deletions

View file

@ -93,7 +93,6 @@ OpenAPI_cnf_t *OpenAPI_cnf_parseFromJSON(cJSON *cnfJSON)
OpenAPI_cnf_unit_t *cnf_unitsItem = OpenAPI_cnf_unit_parseFromJSON(cnf_units_local);
if (!cnf_unitsItem) {
ogs_error("No cnf_unitsItem");
OpenAPI_list_free(cnf_unitsList);
goto end;
}
OpenAPI_list_add(cnf_unitsList, cnf_unitsItem);