[sqlite] RE: Doubtful code in os_unix.c

2007-11-29 Thread Alexandre Balaban
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

[sqlite] Doubtful code in os_unix.c

2007-11-29 Thread Alexandre Balaban
return SQLITE_NOMEM; }else{ Which will lead to a crash for sure. I'm in process to update my AmigaOS4 port of version 3.3.18 to latest code and I am using the unix source as a reference implementation, am I right or wrong ? best regards, Alexandre B