On Wed, Apr 10, 2013 at 5:16 PM, Igor Tandetnik <i...@tandetnik.org> wrote:

> On 4/10/2013 10:06 AM, ven...@intouchmi.com wrote:
>
>> The call to sqlite3_col_decltype returns a char *
>> Should I issue a sqlite3_free on it when I am done with the string?
>>
>
> No. It gives you a pointer into an internal data structure associated with
> the statement handle. The memory will be released, and the pointer will
> become invalid, when you call sqlite3_finalize
>

That deserves to be noted in
http://www.sqlite.org/c3ref/column_decltype.html rather than on list, no? I
know, I ought to sent a patch instead of resquesting for it :) --DD
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to