Skip to content
Snippets Groups Projects
Commit 84acd4c6 authored by DONG Anyuan's avatar DONG Anyuan
Browse files

Fix Coverity Scan CID 340280 (Variable msg going out of scope leaks the storage it points to.)

parent cd31745a
No related branches found
No related tags found
No related merge requests found
......@@ -785,6 +785,7 @@ int x2ap_eNB_handle_handover_response (instance_t instance,
if (ue_id != x2ap_find_id_from_id_source(&instance_p->id_manager, id_source)) {
X2AP_WARN("incorrect/unknown X2AP IDs for UE (old ID %d new ID %d), ignoring handover response\n",
id_source, id_target);
itti_free(ITTI_MSG_ORIGIN_ID(msg), msg);
return 0;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment