aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/vty/vty.c
diff options
context:
space:
mode:
Diffstat (limited to 'openbsc/src/vty/vty.c')
-rw-r--r--openbsc/src/vty/vty.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/src/vty/vty.c b/openbsc/src/vty/vty.c
index 53800d111..affe28d8d 100644
--- a/openbsc/src/vty/vty.c
+++ b/openbsc/src/vty/vty.c
@@ -1630,7 +1630,7 @@ extern void *tall_bsc_ctx;
/* Install vty's own commands like `who' command. */
void vty_init()
{
- tall_vty_ctx = talloc_named_const(tall_bsc_ctx, 1, "vty");
+ tall_vty_ctx = talloc_named_const(NULL, 0, "vty");
/* For further configuration read, preserve current directory. */
vty_save_cwd();