mirror of
https://github.com/open5gs/open5gs.git
synced 2026-05-05 07:08:11 +00:00
[SBI] Crash occurs when ENUM in the MAP (#2103)
This commit is contained in:
parent
ce668c556c
commit
969c116e77
1097 changed files with 266728 additions and 42047 deletions
|
|
@ -16,16 +16,18 @@ OpenAPI_supported_gad_shapes_t *OpenAPI_supported_gad_shapes_create(
|
|||
|
||||
void OpenAPI_supported_gad_shapes_free(OpenAPI_supported_gad_shapes_t *supported_gad_shapes)
|
||||
{
|
||||
OpenAPI_lnode_t *node = NULL;
|
||||
|
||||
if (NULL == supported_gad_shapes) {
|
||||
return;
|
||||
}
|
||||
OpenAPI_lnode_t *node;
|
||||
ogs_free(supported_gad_shapes);
|
||||
}
|
||||
|
||||
cJSON *OpenAPI_supported_gad_shapes_convertToJSON(OpenAPI_supported_gad_shapes_t *supported_gad_shapes)
|
||||
{
|
||||
cJSON *item = NULL;
|
||||
OpenAPI_lnode_t *node = NULL;
|
||||
|
||||
if (supported_gad_shapes == NULL) {
|
||||
ogs_error("OpenAPI_supported_gad_shapes_convertToJSON() failed [SupportedGADShapes]");
|
||||
|
|
@ -40,6 +42,7 @@ end:
|
|||
OpenAPI_supported_gad_shapes_t *OpenAPI_supported_gad_shapes_parseFromJSON(cJSON *supported_gad_shapesJSON)
|
||||
{
|
||||
OpenAPI_supported_gad_shapes_t *supported_gad_shapes_local_var = NULL;
|
||||
OpenAPI_lnode_t *node = NULL;
|
||||
supported_gad_shapes_local_var = OpenAPI_supported_gad_shapes_create (
|
||||
);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue