* path.cc (symlink_info::check_shortcut): Ensure that symlink handle is closed
on successful return.
This commit is contained in:
@ -1902,11 +1902,10 @@ symlink_info::check_shortcut (HANDLE in_h)
|
||||
}
|
||||
if (res) /* It's a symlink. */
|
||||
pflags = PATH_SYMLINK | PATH_LNK;
|
||||
return res;
|
||||
|
||||
out:
|
||||
NtClose (h);
|
||||
return 0;
|
||||
return res;
|
||||
}
|
||||
|
||||
int
|
||||
|
Reference in New Issue
Block a user