aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core-commands.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core-commands.c')
-rw-r--r--src/core-commands.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core-commands.c b/src/core-commands.c
index bceb644..5f6ec53 100644
--- a/src/core-commands.c
+++ b/src/core-commands.c
@@ -1418,6 +1418,7 @@ teco_state_changedir_done(teco_machine_main_t *ctx, const teco_string_t *str, GE
"Null-character not allowed in filenames");
return NULL;
}
+ g_assert(home.data != NULL);
g_free(dir);
dir = home.data;