[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [PATCHES] enhancements of sed error messages, using sed on Windows
From: |
Jannick |
Subject: |
RE: [PATCHES] enhancements of sed error messages, using sed on Windows |
Date: |
Mon, 26 Nov 2018 15:26:52 +0100 |
Hi Assaf,
On Thu, 22 Nov 2018 13:33:00 -0700, Assaf Gordon wrote:
> Attached is a slightly modified version of patch #3.
> Typically there's no need to free a one-time allocated memory, as it
> will be automatically reclaimed when the program terminals.
>
> But it does help to free it when running under 'lint'
> to avoid false-positive memory issues.
>
> I've added IF_LINT() around the free() calls.
>
> I'll push soon if there are no comments.
I agree that with this we should be on the safe side for the typical sed
application.
Thanks,
J.