summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-09-16 02:28:30 +0200
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-10-13 13:14:41 +0000
commit3edd0b03d59f13ce12d9ebaf268bc6b131ee34e0 (patch)
tree64e965ac54afef006c3148a97e81c2929c5829d5
parentb6591072d8f6940e51af83983fd0edafed3a6fee (diff)
ipaccess-config: initialize root talloc ctx with name
tall_ctx_config is defined but remains NULL. Instead initialize as named const. Change-Id: Iec708eda2e4f8eb88b9e5bc5f82f6342709760b1
-rw-r--r--openbsc/src/ipaccess/ipaccess-config.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/openbsc/src/ipaccess/ipaccess-config.c b/openbsc/src/ipaccess/ipaccess-config.c
index 9e3a4712e..453877b2b 100644
--- a/openbsc/src/ipaccess/ipaccess-config.c
+++ b/openbsc/src/ipaccess/ipaccess-config.c
@@ -852,6 +852,8 @@ int main(int argc, char **argv)
struct sockaddr_in sin;
int rc, option_index = 0, stream_id = 0xff;
+ tall_ctx_config = talloc_named_const(NULL, 0, "ipaccess-config");
+
osmo_init_logging(&log_info);
log_parse_category_mask(osmo_stderr_target, "DNM,0");
bts_model_nanobts_init();