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:
@ -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
|
||||
|
Reference in New Issue
Block a user