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/OpenBSC@lists.osmocom.org/.
pablo at gnumonks.org pablo at gnumonks.orgFrom: Pablo Neira Ayuso <pablo at gnumonks.org> Several talloc_zero in logging use NULL context, use tall_log_ctx instead. --- src/logging.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/logging.c b/src/logging.c index 7b1ab13..7fabfcb 100644 --- a/src/logging.c +++ b/src/logging.c @@ -448,7 +448,7 @@ const char *log_vty_command_string(const struct log_info *info) size += strlen(loglevel_strs[i].str) + 1; rem = size; - str = talloc_zero_size(NULL, size); + str = talloc_zero_size(tall_log_ctx, size); if (!str) return NULL; @@ -519,7 +519,7 @@ const char *log_vty_command_description(const struct log_info *info) size += strlen("Global setting for all subsystems") + 1; rem = size; - str = talloc_zero_size(NULL, size); + str = talloc_zero_size(tall_log_ctx, size); if (!str) return NULL; -- 1.7.2.3