Re: [sqlite] Destruction callback for sqlite3_aggregate_context

2008-11-20 Thread Florian Weimer
* Florian Weimer: >> On Nov 19, 2008, at 9:59 PM, Florian Weimer wrote: >> >>> In order to avoid a resource leak, I think I need some sort of >>> callback when the memory allocated by sqlite3_aggregate_context is >>> freed by SQLite. >>> >>> As far as I can see, it is not guaranteed that the

Re: [sqlite] Destruction callback for sqlite3_aggregate_context

2008-11-19 Thread Florian Weimer
* Dan: > On Nov 19, 2008, at 9:59 PM, Florian Weimer wrote: > >> In order to avoid a resource leak, I think I need some sort of >> callback when the memory allocated by sqlite3_aggregate_context is >> freed by SQLite. >> >> As far as I can see, it is not guaranteed that the xFinal function >>

Re: [sqlite] Destruction callback for sqlite3_aggregate_context

2008-11-19 Thread Igor Tandetnik
Florian Weimer <[EMAIL PROTECTED]> wrote: > As far as I can see, it is not guaranteed that the xFinal function > specified in sqlite3_create_function will be called in all cases http://sqlite.org/c3ref/create_function.html "For an aggregate SQL function created using

Re: [sqlite] Destruction callback for sqlite3_aggregate_context

2008-11-19 Thread Dan
On Nov 19, 2008, at 9:59 PM, Florian Weimer wrote: > In order to avoid a resource leak, I think I need some sort of > callback when the memory allocated by sqlite3_aggregate_context is > freed by SQLite. > > As far as I can see, it is not guaranteed that the xFinal function > specified in

[sqlite] Destruction callback for sqlite3_aggregate_context

2008-11-19 Thread Florian Weimer
In order to avoid a resource leak, I think I need some sort of callback when the memory allocated by sqlite3_aggregate_context is freed by SQLite. As far as I can see, it is not guaranteed that the xFinal function specified in sqlite3_create_function will be called in all cases, so this is not