[PATCH] 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 02:14:46 UTC 2016


Review at  https://gerrit.osmocom.org/1049

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(-)


  git pull ssh://gerrit.osmocom.org:29418/openbsc refs/changes/49/1049/1

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: newchange
Gerrit-Change-Id: I3b42b29cd1a688cb4c9d1d4e44208509d936e4ef
Gerrit-PatchSet: 1
Gerrit-Project: openbsc
Gerrit-Branch: master
Gerrit-Owner: Neels Hofmeyr <nhofmeyr at sysmocom.de>



More information about the gerrit-log mailing list