aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordan <Dan Kennedy>2021-11-02 14:01:41 +0000
committerdan <Dan Kennedy>2021-11-02 14:01:41 +0000
commit07ed9c1100b63e6f5adedd902dcaeb42e66808c8 (patch)
tree9dd13385490ed199420f9b587dc196d50729c8cf /src
parent3d0107dda3e05f74a2ee97aacfb910e21eb96412 (diff)
downloadsqlite-07ed9c1100b63e6f5adedd902dcaeb42e66808c8.tar.gz
sqlite-07ed9c1100b63e6f5adedd902dcaeb42e66808c8.zip
Fix a minor memory leak in the shell tool. Omit running fuzztest as part of the Device-One release test configuration, as it is now incompatible with SQLITE_OMIT_VIRTUALTABLE.
FossilOrigin-Name: 4d70f27b7b5681cfdf1c44ac654e565ccff089e74d3edf6660578e04e4b0c9b9
Diffstat (limited to 'src')
-rw-r--r--src/shell.c.in1
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) ){