hnbgw: use proper talloc ctx for vty telnet init

Change-Id: I355c6e5489f24566612528cd679c5cab21eed008
This commit is contained in:
Neels Hofmeyr 2017-12-20 02:33:44 +01:00 committed by Harald Welte
parent f898d6bc10
commit ade7e8b19b
1 changed files with 1 additions and 1 deletions

View File

@ -471,7 +471,7 @@ int main(int argc, char **argv)
log_set_log_level(osmo_stderr_target,
hnbgw_cmdline_config.log_level);
rc = telnet_init_dynif(NULL, g_hnb_gw, vty_get_bind_addr(), OSMO_VTY_PORT_HNBGW);
rc = telnet_init_dynif(tall_hnb_ctx, g_hnb_gw, vty_get_bind_addr(), OSMO_VTY_PORT_HNBGW);
if (rc < 0) {
perror("Error binding VTY port");
exit(1);