Commit 19f315ee 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 d800d20f
......@@ -1212,6 +1212,7 @@ int s1ap_eNB_handle_paging(uint32_t assoc_id,
} else {
/* invalid paging_p->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;
}
} 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