pespin has uploaded this change for review. (
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(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-hnbgw refs/changes/58/40158/1
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));
--
To view, visit
https://gerrit.osmocom.org/c/osmo-hnbgw/+/40158?usp=email
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: newchange
Gerrit-Project: osmo-hnbgw
Gerrit-Branch: master
Gerrit-Change-Id: I9caaff3bd6435cde51006cd14837f3824c77c68b
Gerrit-Change-Number: 40158
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin(a)sysmocom.de>