SQLite Forum

Two potential bugs of memory leak
Login
sqlite version:3.22

Hello,I found two apotential bugs in sqlite3Would you help me check whether the bugs mentioned below are true? Thank you very much for your patience.

In file sqlite3-3.22.0\tool\lemon.c
In function pathsearch
there is allocation of memory,and in certain way,this memory can not be freed correctly.
![image](https://user-images.githubusercontent.com/87304478/131201112-4d17f65a-08df-47b4-81e2-83a1f4619848.png)


In file sqlite3\build\shell.c(build is a directory contain files generated by configure)
In function readfile
there is allocation of memory,and in certain way,this memory can not be freed correctly.
![image](https://user-images.githubusercontent.com/87304478/131201117-7b4943c2-eb95-4e78-9a5e-463d3b8854dc.png)