pcu_sock: Allocate pcu_sock_state using g_bts_sm talloc context
Change-Id: I29eae7bcc66dc5e646b8a4703871682202259bed
This commit is contained in:
parent
38491d813b
commit
31c759165a
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue