[MERGED] openbsc[master]: bs11_config: initialize bs11 tall ctx, use instead of bsc ctx

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Neels Hofmeyr gerrit-no-reply at lists.osmocom.org
Thu Oct 13 13:14:42 UTC 2016


Neels Hofmeyr has submitted this change and it was merged.

Change subject: bs11_config: initialize bs11 tall ctx, use instead of bsc ctx
......................................................................


bs11_config: initialize bs11 tall ctx, use instead of bsc ctx

Actually initialize tall_bs11cfg_ctx as named const.

Change-Id: I3b42b29cd1a688cb4c9d1d4e44208509d936e4ef
---
M openbsc/src/utils/bs11_config.c
1 file changed, 2 insertions(+), 0 deletions(-)

Approvals:
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/openbsc/src/utils/bs11_config.c b/openbsc/src/utils/bs11_config.c
index 227b9f8..3420991 100644
--- a/openbsc/src/utils/bs11_config.c
+++ b/openbsc/src/utils/bs11_config.c
@@ -890,6 +890,8 @@
 	struct gsm_network *gsmnet;
 	struct e1inp_line *line;
 
+	tall_bs11cfg_ctx = talloc_named_const(NULL, 0, "bs11-config");
+
 	osmo_init_logging(&log_info);
 	handle_options(argc, argv);
 	bts_model_bs11_init();

-- 
To view, visit https://gerrit.osmocom.org/1049
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I3b42b29cd1a688cb4c9d1d4e44208509d936e4ef
Gerrit-PatchSet: 2
Gerrit-Project: openbsc
Gerrit-Branch: master
Gerrit-Owner: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Neels Hofmeyr <nhofmeyr at sysmocom.de>



More information about the gerrit-log mailing list