22 sqlite3memtest main /KentDev/sqlite3memtest/sqlite3memtest/main.c:99
If I change the page_size pragma to 4096 (or leave it at the default) no leaks are reported by Instruments.
A page_size of 16384 will also report leaks.
I tried running valgrind on the app and but it doesn't report leaks. I think I see a similar leak if I interrupt the program. (valgrind reports them as a possible leak in this case) This is starting to make me think it may be a false positive but just thought I would check to make sure it isn't a leak.
I've included the project which has the 3.20.1 amalgamation included within it.