pespin has submitted this change. ( https://gerrit.osmocom.org/c/osmo-bts/+/32264 )
Change subject: pcu_sock: Allocate pcu_sock_state using g_bts_sm talloc context ......................................................................
pcu_sock: Allocate pcu_sock_state using g_bts_sm talloc context
Change-Id: I29eae7bcc66dc5e646b8a4703871682202259bed --- M src/common/pcu_sock.c 1 file changed, 10 insertions(+), 1 deletion(-)
Approvals: fixeria: Looks good to me, approved Jenkins Builder: Verified
diff --git a/src/common/pcu_sock.c b/src/common/pcu_sock.c index e7bedd1..7d0c796 100644 --- a/src/common/pcu_sock.c +++ b/src/common/pcu_sock.c @@ -1178,7 +1178,7 @@ struct osmo_fd *bfd; int rc;
- state = talloc_zero(NULL, struct pcu_sock_state); + state = talloc_zero(g_bts_sm, struct pcu_sock_state); if (!state) return -ENOMEM;