Commit 8fe94b2f authored by Dong Anyuan's avatar Dong Anyuan

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

Fix Coverity Scan CID 261458 (Variable message_p going out of scope leaks the storage it points to.)
parent 6986cbdd
...@@ -1212,6 +1212,7 @@ int s1ap_eNB_handle_paging(uint32_t assoc_id, ...@@ -1212,6 +1212,7 @@ int s1ap_eNB_handle_paging(uint32_t assoc_id,
} else { } else {
/* invalid paging_p->cnDomain */ /* invalid paging_p->cnDomain */
S1AP_ERROR("[SCTP %d] Received Paging : cnDomain(%ld) is unknown\n", assoc_id, ie->value.choice.CNDomain); S1AP_ERROR("[SCTP %d] Received Paging : cnDomain(%ld) is unknown\n", assoc_id, ie->value.choice.CNDomain);
itti_free (ITTI_MSG_ORIGIN_ID(message_p), message_p);
return -1; return -1;
} }
} else { } else {
......
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