Re: release static pointers

2009-01-26 Thread Christian Giordano
It looked like a good tutorial :) Thanks, I'll check better the Apple way. Cheers, chr On Mon, Jan 26, 2009 at 1:59 PM, Peter Blazejewicz wrote: > hi Christian, > > On Jan 26, 2009, at 11:25 AM, Christian Giordano wrote: > >> I'm wondering if and how >> the pointer to the statement will be re

Re: release static pointers

2009-01-26 Thread Peter Blazejewicz
hi Christian, On Jan 26, 2009, at 11:25 AM, Christian Giordano wrote: I'm wondering if and how the pointer to the statement will be released. In the code samples I saw there is no trace of the releasing (in this case, sqlite3_finalize(statement)). This is the example: http://icodeblog.com/wp-

release static pointers

2009-01-26 Thread Christian Giordano
Hi guys, I'm using sqlite3 library and a common technique is to cache the statement. In some examples I found the statement is set as static in the model which gets instantiated lazily. I'm wondering if and how the pointer to the statement will be released. In the code samples I saw there is no tra