s3: VFS: Ensure sys_getwd() doesn't leak memory on error on really old systems.
commit6b1971fe39cc91ae450d28238fe3f81758d0e6fd
authorJeremy Allison <jra@samba.org>
Tue, 3 Oct 2017 17:37:55 +0000 (3 10:37 -0700)
committerKarolin Seeger <kseeger@samba.org>
Wed, 25 Oct 2017 06:43:04 +0000 (25 08:43 +0200)
tree4a02331b6ba1d6708e94793a5bbbe4a4bf27c722
parente507bcdd6844075f4ab996192d2d19df77c3cbbf
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>
(cherry picked from commit fb9ce0685e5d46e3d7abf5fac07b4f626339a413)
source3/lib/system.c