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;


--
To view, visit https://gerrit.osmocom.org/c/osmo-bts/+/32264
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: I29eae7bcc66dc5e646b8a4703871682202259bed
Gerrit-Change-Number: 32264
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <[email protected]>
Gerrit-Reviewer: pespin <[email protected]>
Gerrit-MessageType: merged

Reply via email to