[sqlite] Memory leak?

2015-03-16 Thread Matthias Schmitt
without memory leaks for years. Now this example is leaking two memory segments of ~4.5 KB each. Interesting fact: I am getting the same memory leaks when I am compiling Sqlite from source or if I am using the precompiled library, which comes with the Xcode development environment. Best regards

[sqlite] Memory leak?

2015-03-13 Thread Matthias Schmitt
eports memory leaks. In another attempt I tried to compile the code with SQLITE_ENABLE_MEMORY_MANAGEMENT compile-time option. Then I tried to call sqlite3_release_memory() after every database command. Same result. Best regards Matthias Schmitt magic moving pixel s.a. 23, Avenue Grande-Duchesse Charlotte L-3441 Dudelange Luxembourg Phone: +352 54 75 75 http://www.mmp.lu

[sqlite] Memory leak?

2015-03-12 Thread Matthias Schmitt
regards Matthias Schmitt magic moving pixel s.a. 23, Avenue Grande-Duchesse Charlotte L-3441 Dudelange Luxembourg Phone: +352 54 75 75 http://www.mmp.lu

[sqlite] Compiler warning: Unused variable ‘pFd'

2014-01-09 Thread Matthias Schmitt
nfetch(sqlite3_file *fd, i64 iOff, void *p){ #if SQLITE_MAX_MMAP_SIZE>0 unixFile *pFd = (unixFile *)fd; /* The underlying database file */ UNUSED_PARAMETER(iOff); … the code of the function #endif return SQLITE_OK; } Best regards Matthias Schmitt magic moving pixel s.a. 23, Avenue Grande