s3: VFS: Ensure sys_getwd() doesn't leak memory on error on really old systems.
authorJeremy Allison <jra@samba.org>
Tue, 3 Oct 2017 17:37:55 +0000 (10:37 -0700)
committerRalph Boehme <slow@samba.org>
Wed, 4 Oct 2017 08:06:15 +0000 (10:06 +0200)
commitfb9ce0685e5d46e3d7abf5fac07b4f626339a413
tree857dd9251cd5f764fe53d271409753aa51e139e7
parentd774aeba5e04eacb98cf938d356e4cc502caa2e7
s3: VFS: Ensure sys_getwd() doesn't leak memory on error on really old systems.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13069

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/lib/system.c