mirror of
https://github.com/open5gs/open5gs.git
synced 2026-05-02 21:30:10 +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_steering_container_t *OpenAPI_steering_container_create(
|
|||
|
||||
void OpenAPI_steering_container_free(OpenAPI_steering_container_t *steering_container)
|
||||
{
|
||||
OpenAPI_lnode_t *node = NULL;
|
||||
|
||||
if (NULL == steering_container) {
|
||||
return;
|
||||
}
|
||||
OpenAPI_lnode_t *node;
|
||||
ogs_free(steering_container);
|
||||
}
|
||||
|
||||
cJSON *OpenAPI_steering_container_convertToJSON(OpenAPI_steering_container_t *steering_container)
|
||||
{
|
||||
cJSON *item = NULL;
|
||||
OpenAPI_lnode_t *node = NULL;
|
||||
|
||||
if (steering_container == NULL) {
|
||||
ogs_error("OpenAPI_steering_container_convertToJSON() failed [SteeringContainer]");
|
||||
|
|
@ -40,6 +42,7 @@ end:
|
|||
OpenAPI_steering_container_t *OpenAPI_steering_container_parseFromJSON(cJSON *steering_containerJSON)
|
||||
{
|
||||
OpenAPI_steering_container_t *steering_container_local_var = NULL;
|
||||
OpenAPI_lnode_t *node = NULL;
|
||||
steering_container_local_var = OpenAPI_steering_container_create (
|
||||
);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue