pespin has uploaded this change for review.
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(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/64/32264/1
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 change 32264. To unsubscribe, or for help writing mail filters, visit settings.