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
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
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
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
4 matches
Mail list logo