Re: [sqlite] Possible memory leak in shell.c

2018-07-29 Thread Richard Hipp
On 7/29/18, Patricia Monteiro wrote: > I've been testing the latest version of SQLite with 3 static analysis tools > (Infer, Clang Static Analyzer and Cppcheck) and they all reported a memory > leak error in shell.c . The shell code has now been modified so that it calls exit(1) if realloc()

[sqlite] Possible memory leak in shell.c

2018-07-29 Thread Patricia Monteiro
I've been testing the latest version of SQLite with 3 static analysis tools (Infer, Clang Static Analyzer and Cppcheck) and they all reported a memory leak error in shell.c . The Infer error report is as follows: shell.c:585: error: MEMORY_LEAK memory dynamically allocated by call to