Commit f6765e06 authored by Dong Anyuan's avatar Dong Anyuan

Fix Coverity Scan CID 340232 (Variable message_p going out of scope leaks the...

Fix Coverity Scan CID 340232 (Variable message_p going out of scope leaks the storage it points to.)
parent f1fdff80
...@@ -1545,6 +1545,7 @@ int s1ap_eNB_handle_s1_path_switch_request_ack(uint32_t assoc_id, ...@@ -1545,6 +1545,7 @@ int s1ap_eNB_handle_s1_path_switch_request_ack(uint32_t assoc_id,
S1AP_ERROR("[SCTP %d] Received path switch request ack for non " S1AP_ERROR("[SCTP %d] Received path switch request ack for non "
"existing UE context 0x%06lx\n", assoc_id, "existing UE context 0x%06lx\n", assoc_id,
ie->value.choice.ENB_UE_S1AP_ID); ie->value.choice.ENB_UE_S1AP_ID);
itti_free(ITTI_MSG_ORIGIN_ID(message_p), message_p);
return -1; return -1;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment