1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-07-29 08:01:23 +03:00

Fix a couple of memory leaks in the shell tool code that could occur when processing errors.

FossilOrigin-Name: e84f09d469ee76a5b5e44baf6a69b90c69d4160fa4c32de04a96f868643acd96
This commit is contained in:
dan
2024-06-04 15:07:38 +00:00
parent c5a0ed7b43
commit 077f9b14f1
4 changed files with 23 additions and 12 deletions

View File

@ -136,4 +136,13 @@ a["b"]
.*/ x
'y}} 1}
do_test shell3-3.2 {
catchcmd "" {
.open xyz.db
SELECT ;
}
} {1 {Parse error near line 3: near ";": syntax error
SELECT ;
^--- error here}}
finish_test