Re: [PATCH] Ensure sys_getwd() doesn't leak memory on error and returns correct error code on older systems.
On Tue, Oct 03, 2017 at 06:22:35PM +0000, Jeremy Allison wrote:
> Fix for a memory leak problem on error on non-Linux systems
> (that use the old-style getwd()-needs-malloc call). Also
> ensures we always return correct errno from getwd() if it
> Please review and push if OK !