On 7/2/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
"Ben Combee" <[EMAIL PROTECTED]> wrote:
> Won't this code leak the memory to which zName points during the
> assignment from the call to sqlite3MPrintf?
>
The %z calls sqliteFree() for you automatically.
Thanks for the clarification.
"Ben Combee" <[EMAIL PROTECTED]> wrote:
> This is something the Coverity caught when run locally on the SQLite
> 3.3.17 source, but it seems to still be there in the CVS version:
>
> In select.c's sqlite3ResultSetOfSelect(), zName is allocated using a
> malloc-style function at the top of the
This is something the Coverity caught when run locally on the SQLite
3.3.17 source, but it seems to still be there in the CVS version:
In select.c's sqlite3ResultSetOfSelect(), zName is allocated using a
malloc-style function at the top of the routine. Later, there's code
to guarantee a unique
3 matches
Mail list logo