summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2018-07-11 05:23:05 +0200
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2018-07-18 22:14:03 +0000
commit5a188137dc0dced617c2a4a0bf2e9484e7187be2 (patch)
treed749d71279ff231715ea9ed1e2304477237b36c5
parentbf4392c2baff6eac938edf71450f85ef48c311f6 (diff)
comment: explain xua_msg free in m3ua_rx_xfer()
-rw-r--r--src/m3ua.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/m3ua.c b/src/m3ua.c
index f1fe3f1..d7ede40 100644
--- a/src/m3ua.c
+++ b/src/m3ua.c
@@ -584,6 +584,7 @@ static int m3ua_rx_xfer(struct osmo_ss7_asp *asp, struct xua_msg *xua)
xua_msg_free_tag(xua, M3UA_IEI_ROUTE_CTX);
return m3ua_hmdc_rx_from_l2(asp->inst, xua);
+ /* xua will be freed by caller m3ua_rx_msg() */
}
static int m3ua_rx_mgmt_err(struct osmo_ss7_asp *asp, struct xua_msg *xua)