pespin has submitted this change. ( https://gerrit.osmocom.org/c/osmo-hnbgw/+/40158?usp=email )
Change subject: ranap: No need to set destructor function twice ......................................................................
ranap: No need to set destructor function twice
talloc destructor function is already being set in hnbgw_decode_ranap_ran_co(), no need to do it twice. This is a leftover from recent refactoring.
Fixes: 79c5600bb65e5e940dddfd4b3be50259caa1bd34 Change-Id: I9caaff3bd6435cde51006cd14837f3824c77c68b --- M src/osmo-hnbgw/hnbgw_ranap.c 1 file changed, 0 insertions(+), 2 deletions(-)
Approvals: Jenkins Builder: Verified lynxis lazus: Looks good to me, approved
diff --git a/src/osmo-hnbgw/hnbgw_ranap.c b/src/osmo-hnbgw/hnbgw_ranap.c index f97f53f..692cf11 100644 --- a/src/osmo-hnbgw/hnbgw_ranap.c +++ b/src/osmo-hnbgw/hnbgw_ranap.c @@ -627,8 +627,6 @@ * information, for RTP mapping via MGW, or GTP mapping via UPF. */ ranap_message *message = hnbgw_decode_ranap_ran_co(ranap_msg); if (message) { - talloc_set_destructor(message, destruct_ranap_ran_rx_co_ies); - LOG_MAP(map, DCN, LOGL_DEBUG, "rx from SCCP: RANAP %s\n", get_value_string(ranap_procedure_code_vals, message->procedureCode));