pespin has submitted this change. ( https://gerrit.osmocom.org/c/osmo-bts/+/29574 ) Change subject: osmux: nullify osmux.rtpst after freeing it ...................................................................... osmux: nullify osmux.rtpst after freeing it Change-Id: I806cbe42cfc8fe59134ae842f3d7398acb1a1848 --- M src/common/osmux.c 1 file changed, 3 insertions(+), 1 deletion(-) Approvals: laforge: Looks good to me, approved fixeria: Looks good to me, but someone else must approve Jenkins Builder: Verified diff --git a/src/common/osmux.c b/src/common/osmux.c index 8a5d1ee..d10d091 100644 --- a/src/common/osmux.c +++ b/src/common/osmux.c @@ -427,8 +427,10 @@ osmux_handle_put(bts, lchan->abis_ip.osmux.in); lchan->abis_ip.osmux.in = NULL; } - if (lchan->abis_ip.osmux.rtpst) + if (lchan->abis_ip.osmux.rtpst) { osmo_rtp_handle_free(lchan->abis_ip.osmux.rtpst); + lchan->abis_ip.osmux.rtpst = NULL; + } lchan->abis_ip.osmux.use = false; } -- To view, visit https://gerrit.osmocom.org/c/osmo-bts/+/29574 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-bts Gerrit-Branch: master Gerrit-Change-Id: I806cbe42cfc8fe59134ae842f3d7398acb1a1848 Gerrit-Change-Number: 29574 Gerrit-PatchSet: 1 Gerrit-Owner: pespin <pespin@sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: fixeria <vyanitskiy@sysmocom.de> Gerrit-Reviewer: laforge <laforge@osmocom.org> Gerrit-Reviewer: pespin <pespin@sysmocom.de> Gerrit-MessageType: merged