diff options
author | Christof Schmitt <christof.schmitt@us.ibm.com> | 2013-06-12 14:49:53 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2013-06-13 01:43:17 +0200 |
commit | 5c488cfb79873287e769622fd5da43b7a735e29c (patch) | |
tree | f1b58574a21c130776da6e9da120917f181bb25e /source3/torture/test_cleanup.c | |
parent | d6ce1402a964858bf40b23f34df01f1f01839d3a (diff) | |
download | samba-5c488cfb79873287e769622fd5da43b7a735e29c.tar.gz samba-5c488cfb79873287e769622fd5da43b7a735e29c.tar.bz2 samba-5c488cfb79873287e769622fd5da43b7a735e29c.zip |
Initialize the file descriptor in the files_struct before trying to close it. Otherwise, if one of the SETXATTR calls had failed, the close() call will return EBADF.
Signed-off-by: Christof Schmitt <christof.schmitt@us.ibm.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Richard Sharpe <rsharpe@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Thu Jun 13 01:43:18 CEST 2013 on sn-devel-104
Diffstat (limited to 'source3/torture/test_cleanup.c')
0 files changed, 0 insertions, 0 deletions