On Mon, Nov 03, 2008 at 10:07:46AM -0500, Sherief N. Farouk scratched on the 
wall:
> 99% of the time the leaks are due to API abuse. Post a small sample app
> (that build and runs) exhibiting the behavior, if possible. What does
> _CrtDumpMemoryLeaks() say?

  SQLite also does some "interesting" things with pointers.  There are
  a few areas of the code where an array of memory is allocated and
  then the pointer is backed up a record (under-running the allocated space)
  to make the array 1-based rather than 0-based.  All of the access is
  correct and inside the valid memory, but many analysis tools freak out
  and get very worried (and rightfully so) over that kind of behavior.

   -j

-- 
Jay A. Kreibich < J A Y  @  K R E I B I.C H >

"Our opponent is an alien starship packed with atomic bombs.  We have
 a protractor."   "I'll go home and see if I can scrounge up a ruler
 and a piece of string."  --from Anathem by Neal Stephenson
_______________________________________________
sqlite-users mailing list
[email protected]
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to