Search found 4 matches

by spongebob
22.10.2007, 09:16
Forum: SQLite
Topic: possible memory leaks
Replies: 11
Views: 3320

What about Revision 301?? I just checked out Rev 303 and the leaks are gone - so if it the current Revision passes your test suite everything should be ok. (Sorry, but installing cygwin/ant/ .... was beyond my scope. While I realize you have to use a framework like this (platform portability) I'd p...
by spongebob
12.10.2007, 16:55
Forum: SQLite
Topic: possible memory leaks
Replies: 11
Views: 3320

Rev 298 still contains a leak : in TZSQLiteResultSet.Next : FColumnValues := nil; if Assigned(FStmtHandle) then begin //ZPlainSQLLiteDriver.Step : AllocMem(SizeOf(PPChar)*pN+1); // Leak, if ...not freed ! [HD, 05.10.2007] if FColumnValues <> nil then FreeMem(FColumnValues,Sizeof(PPChar)*fColumnCount...
by spongebob
12.10.2007, 15:40
Forum: SQLite
Topic: possible memory leaks
Replies: 11
Views: 3320

spongebob , I added sqlite to my test suite runs and ran the suite before and after your changes. I had to adapt your code a little (I had loads of pointer exceptions because in the 'Next' procedure these variables are cleared, even when Step isn't executed.) After the changes these exceptions wher...
by spongebob
04.10.2007, 17:32
Forum: SQLite
Topic: possible memory leaks
Replies: 11
Views: 3320

After reading http://zeos.firmos.at/viewtopic.php?t=1339 I can hardly believe nobody found this somewhat obvious leak : function TZSQLite3PlainDriver.Step allocates memory which is never freed. Here is my (quick) fix - maybe someone with a killer application can test it (how about Orbmu2k testing it...