[Commits] [SCM] claws branch, master, updated. 3.13.2-93-g73e0a2e

Colin Leroy colin at colino.net
Thu Mar 31 00:08:11 CEST 2016


On 30 March 2016 at 18h34, Andrej Kacian wrote:

Hi, 

> It seems to me that there should be a realloc() at the end of this new
> function, since we're going to end up with a shorter string (or at
> best, of the same length).

Shorter's not a problem :) free() will free the originally allocated
size even if there is a \0 before the end of the buffer.

-- 
Colin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.claws-mail.org/pipermail/commits/attachments/20160331/caa75fba/attachment.sig>


More information about the Commits mailing list