pcu_sock: Allocate pcu_sock_state using g_bts_sm talloc context

Change-Id: I29eae7bcc66dc5e646b8a4703871682202259bed
This commit is contained in:
Pau Espin 2023-04-11 11:36:19 +02:00
parent 38491d813b
commit 31c759165a
1 changed files with 1 additions and 1 deletions

View File

@ -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;