Commit 53a63395 authored by Teodora Vladić's avatar Teodora Vladić

Properly use `xran_close()` for K release

Signed-off-by: default avatarTeodora Vladić <teodora.vladic@openairinterface.org>
Fixes: 7b7afae0 ("feat(oran_fhlib_5g): Changes to run K release")
parent e80b8444
......@@ -87,7 +87,9 @@ void trx_oran_end(openair0_device_t *device)
printf("ORAN: %s\n", __FUNCTION__);
oran_eth_state_t *s = device->priv;
xran_shutdown(s->oran_priv);
xran_close(s->oran_priv);
for (int32_t port_id = 0; port_id < s->num_ports; port_id++) {
xran_close(((void **)s->oran_priv)[port_id]);
}
xran_cleanup();
xran_mem_mgr_leak_detector_destroy();
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment