'struct tcap_component' is allocated off the dialogue, not the invocation
This commit is contained in:
parent
2ede379bb9
commit
c671dff577
|
@ -149,7 +149,7 @@ int tcap_cha_tc_result_req(struct tcap_dialogue *td, int8_t inv_id, int last,
|
|||
return -ENOENT;
|
||||
|
||||
/* Allocate a new component structure */
|
||||
tcomp = talloc_zero(ti, struct tcap_component);
|
||||
tcomp = talloc_zero(td, struct tcap_component);
|
||||
if (!tcomp)
|
||||
return -ENOMEM;
|
||||
comp = &tcomp->comp;
|
||||
|
|
Loading…
Reference in New Issue