Can Final be called without Step first being called?

If Step is called, will Final always be called?

I know the intention is to call sqlite3_aggregate_context with the  
size I really need and not allocate anything myself, but I want to  
store a pointer to a C++ class in the aggregate context. Is it enough  
to dispose of the pointer in Final, or is this a potential leak? Will  
calling sqlite3_aggregate_context in Final sometimes do the initial  
allocation, and if so can it be easily avoided?

Thanks...
_______________________________________________
sqlite-users mailing list
[email protected]
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to