streams_xattr: Make error handling more obvious
authorVolker Lendecke <vl@samba.org>
Wed, 8 Aug 2018 12:20:58 +0000 (14:20 +0200)
committerVolker Lendecke <vl@samba.org>
Fri, 14 Sep 2018 05:49:14 +0000 (07:49 +0200)
commit36055dbb660a1a1086e06b3849e4deb93f2a99ef
tree55db143c4482dc9eabf8f4c03096b0bbb2fc62ee
parent50adbbe0c841360f6d29f66dcdffdaa872c7780d
streams_xattr: Make error handling more obvious

Do the NULL check right after the alloc call

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/modules/vfs_streams_xattr.c