path: root/openbsc/src
diff options
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-12-21 13:29:14 +0100
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-12-21 13:41:33 +0100
commit90cdd28e6f482dac3c3307c23187b2b6f1e4999c (patch)
tree20c78947f8b7112b18e1af767da97694974e8cb2 /openbsc/src
parent63dbfc6a2b99173b6f8ca61542db0dc31718760c (diff)
ho: Make this allocation a child of the BSC talloc context
Do not use the NULL context for this allocation. It should hang off the gsm_subscriber_connection but for now at least make it the child of the BSC so it is showing up in the talloc report.
Diffstat (limited to 'openbsc/src')
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/src/handover_logic.c b/openbsc/src/handover_logic.c
index 30cea7b0..511742eb 100644
--- a/openbsc/src/handover_logic.c
+++ b/openbsc/src/handover_logic.c
@@ -111,7 +111,7 @@ int bsc_handover_start(struct gsm_lchan *old_lchan, struct gsm_bts *bts)
return -ENOSPC;
- ho = talloc_zero(NULL, struct bsc_handover);
+ ho = talloc_zero(tall_bsc_ctx, struct bsc_handover);
if (!ho) {
LOGP(DHO, LOGL_FATAL, "Out of Memory\n");