diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/shell.c.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/shell.c.in b/src/shell.c.in index 69b1c141d..f136103b3 100644 --- a/src/shell.c.in +++ b/src/shell.c.in @@ -8456,6 +8456,7 @@ static int do_meta_command(char *zLine, ShellState *p){ if( sCtx.in==0 ){ utf8_printf(stderr, "Error: cannot open \"%s\"\n", zFile); rc = 1; + import_cleanup(&sCtx); goto meta_command_exit; } if( eVerbose>=2 || (eVerbose>=1 && useOutputMode) ){ |