mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
s3-vfstest: Fix an uninitialized read in close
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Thu Feb 2 18:00:58 CET 2012 on sn-devel-104
This commit is contained in:
parent
25d3a2e83c
commit
3bea5a147b
@ -478,6 +478,10 @@ int main(int argc, char *argv[])
|
||||
/* some advanced initialization stuff */
|
||||
smbd_vfs_init(vfs.conn);
|
||||
|
||||
if (!posix_locking_init(false)) {
|
||||
return 1;
|
||||
}
|
||||
|
||||
/* Do we have a file input? */
|
||||
if (filename && filename[0]) {
|
||||
process_file(&vfs, filename);
|
||||
|
Loading…
Reference in New Issue
Block a user