pespin has uploaded this change for review. (
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(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/74/29574/1
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(a)sysmocom.de>
Gerrit-MessageType: newchange