diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2023-04-11 11:36:19 +0200 |
---|---|---|
committer | Pau Espin Pedrol <pespin@sysmocom.de> | 2023-04-11 11:36:19 +0200 |
commit | 31c759165ac379b31566fcf560553e7e8ce8c027 (patch) | |
tree | 0462833b3868d4ce52e235196cfa6ef82405dda6 | |
parent | 38491d813bd331fd0324383189ae888670f40eb4 (diff) |
pcu_sock: Allocate pcu_sock_state using g_bts_sm talloc context
Change-Id: I29eae7bcc66dc5e646b8a4703871682202259bed
-rw-r--r-- | src/common/pcu_sock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/pcu_sock.c b/src/common/pcu_sock.c index e7bedd1f..7d0c7965 100644 --- a/src/common/pcu_sock.c +++ b/src/common/pcu_sock.c @@ -1178,7 +1178,7 @@ int pcu_sock_init(const char *path) 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; |