[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: RFC: Constant Database Support
In article <20100304143518.GD29681%britannica.bec.de@localhost>,
Joerg Sonnenberger <joerg%britannica.bec.de@localhost> wrote:
>On Thu, Mar 04, 2010 at 02:11:04PM +0000, Christos Zoulas wrote:
>> Looks great! Doesn't asprintf() leak memory though?
>Yes. It might be useful to free it for the dup case, but I wouldn't
>bother freeing the memory after the database is written, given that the
>program will terminate immediate anyway.
At least add a comment saying that you need to keep the memory around
until the database is written.
Main Index |
Thread Index |