From: <arc...@us...> - 2013-02-15 00:44:09
|
Revision: 633 http://sourceforge.net/p/sipp/code/633 Author: arcady-91 Date: 2013-02-15 00:44:07 +0000 (Fri, 15 Feb 2013) Log Message: ----------- Adding return to make it clear to cppcheck that my_msg is not being freed twice Modified Paths: -------------- sipp/trunk/call.cpp Modified: sipp/trunk/call.cpp =================================================================== --- sipp/trunk/call.cpp 2013-02-15 00:44:00 UTC (rev 632) +++ sipp/trunk/call.cpp 2013-02-15 00:44:07 UTC (rev 633) @@ -232,6 +232,7 @@ if (!end) { free(my_msg); ERROR("get_remote_port_media: no CRLF found"); + return; } *end = '\0'; memset(number, 0, sizeof(number)); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |