My fix is to REMOVE the lines of code I mentioned. The malloc is done outside of this method already.
Thanks, Mark > -----Original Message----- > From: Alexandre Balaban [mailto:[EMAIL PROTECTED] > Sent: Thursday, November 29, 2007 11:13 AM > To: sqlite-users@sqlite.org > Subject: [sqlite] RE: Doubtful code in os_unix.c > > > Hi Simon, > > yes but here this is not a memory leak issue i was talking about, but > rather a crash : > > if( pNew==0 ){ > [...] > releaseLockInfo(pNew->pLock); > ^- Here > releaseOpenCnt(pNew->pOpen); > ^- and here > > But okay, locking style aren't working yet under Unix and > will be worked > on soon. > > Regards, > > Alex. > > -------------------------------------------------------------- > --------------- > To unsubscribe, send email to [EMAIL PROTECTED] > -------------------------------------------------------------- > --------------- > > ----------------------------------------------------------------------------- To unsubscribe, send email to [EMAIL PROTECTED] -----------------------------------------------------------------------------