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

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

parent 264e429f
No related branches found
No related tags found
4 merge requests!650Release v1.1.0 Candidate,!620Resolve "Coverity Scan Fix (Week25)",!617Develop: Integration 2019 Week 25,!588Develop nr merge
......@@ -832,6 +832,11 @@ err:
sctp_cnx = NULL;
}
if (addr != NULL) {
free(addr);
addr = NULL;
}
return -1;
}
......
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