aboutsummaryrefslogtreecommitdiffstats
path: root/src/libbsc/abis_nm.c
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2018-02-13 21:21:42 +0100
committerNeels Hofmeyr <neels@hofmeyr.de>2018-02-14 12:15:40 +0100
commitcc6240aeb2e895a8df8c4bdca7fcae082b4f00bb (patch)
tree424c47464237cc86e0ff1fe570eac63fcfac406e /src/libbsc/abis_nm.c
parent978f58cd2e41212d5e1f1543e9f05137831304e1 (diff)
libcommon: eliminate talloc_ctx.c
Interestingly enough, talloc_ctx_init() actually had not a single caller. While dropping it, see to it that the few contexts that are actually used in osmo-bsc.git are indeed initialized in all the main scopes. Also initialize two void* ctxts as NULL explicitly, to allocate under the NULL context in case some main scope forgets to branch it off another root context. (That's bsc, fle and paging, all others actually come in from other libraries.) Change-Id: I344a3d07e146999e154824837ed95db2b9879356
Diffstat (limited to 'src/libbsc/abis_nm.c')
-rw-r--r--src/libbsc/abis_nm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libbsc/abis_nm.c b/src/libbsc/abis_nm.c
index 403b94cb4..671c87419 100644
--- a/src/libbsc/abis_nm.c
+++ b/src/libbsc/abis_nm.c
@@ -2374,7 +2374,7 @@ int abis_nm_bs11_get_state(struct gsm_bts *bts)
/* BS11 SWL */
-void *tall_fle_ctx;
+void *tall_fle_ctx = NULL;
struct abis_nm_bs11_sw {
struct gsm_bts *bts;