> I do have try your suggestion, but it seems to no effect :( 
> For Symbian OS it is very strict with the memory assignation, u must call
> closeSTDLIB() after using some stdlib functions otherwise u will got the
> exit error. 
> So I guess my issue like that But I have no idea about what to deal with the
> sqlite_open() such as closeSTDLIB().

> > > here is my code :
> > >
> > > sqlite *db;
> > > char *zErrMsg = 0;
> > > db = sqlite_open("test.db", 0, &zErrMsg);
> > > sqlite_close(db);
> > > db = NULL;
> > > delete db;

Call closeSTDLIB() before exiting then. SQLite might be using
some of those functions.

Also, check if zErrMsg is still NULL after the sqlite_open call .
SQLite may have allocated space for an error message. Back in 
version 2 you had to free this yourself. Something like:

if( zErrMsg ){
  sqlite_free(zErrMsg);
}

Question: does "-DOS_UNIX" appear as a compiler option when you
are building it? If so there might be a couple of bytes allocated
for a static hash table that aren't being freed.




                
__________________________________ 
Yahoo! Messenger 
Show us what our next emoticon should look like. Join the fun. 
http://www.advision.webevents.yahoo.com/emoticontest

Reply via email to