[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#6936: Bug#594666: /usr/bin/tac: tac aborts

From: Paul Eggert
Subject: bug#6936: Bug#594666: /usr/bin/tac: tac aborts
Date: Sat, 28 Aug 2010 12:18:50 -0700
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv: Gecko/20100713 Thunderbird/3.0.6

On 08/28/2010 09:26 AM, Jim Meyering wrote:

> This bug was introduced by commit be6c13e7, "maint: always free a
> buffer, to avoid even semblance of a leak".

Hah!  I've always been suspicious of these unnecessary free()s,
i.e., free()s that are put in only to make 'valgrind' happy.

How about if we do these unnecessary free()s only if 'lint'
is defined?  That would make the production software more

reply via email to

[Prev in Thread] Current Thread [Next in Thread]