On Tue, Feb 5, 2013 at 3:50 PM, Marion & Christophe JAILLET <
christophe.jail...@wanadoo.fr> wrote:

> Hi,
>
> This may look useless, but I can't figure out why in function
> 'substring_conf' (line 752 in server/util.c) we allocate len+2 bytes ?
> This seems to have been like that forever.
>
> IMO, len+1 should be enough.
>

+1


> Changing that would be a huge memory usage improvement :).
>

needs more study


>
>
> Does any one has an idea about it ?
>
> Best regards,
> CJ
>
>
>
>
>
>
>


-- 
Born in Roswell... married an alien...
http://emptyhammock.com/

Reply via email to