commit | 45fe47cea7210606e88a32eb3a20e3883432443a | [log] [tgz] |
---|---|---|
author | Neels Hofmeyr <nhofmeyr@sysmocom.de> | Thu Mar 30 16:53:13 2023 +0200 |
committer | Neels Hofmeyr <nhofmeyr@sysmocom.de> | Sat Apr 15 00:56:06 2023 +0200 |
tree | 4e191570aa163497989ed46cbdd60a49b0f78478 | |
parent | ce356eec1fbe2cd9cad60c3aa58e1ab8ea4f2561 [diff] |
mgcp_client: simpler error handling add_sdp(), add_lco(): - do not msgb_free() within these functions. Just return error, and move the msgb_free() to the caller. - when failing to write to the msgb, directly return error. Change-Id: I904d56f56053952c2ebbbe5dca744fafa32b333e