mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-15 04:43:53 +00:00
smbfs: Fix an indentation level
Based on the change in r242386, it seems clear that scred was intended to be released in all paths at exit. No functional change. This line's indent was just the result of a bad copy paste from the previous free() in an early exit path. Reported by: PVS-Studio Sponsored by: Dell EMC Isilon
This commit is contained in:
parent
4ab072262a
commit
8844e55d4a
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=316584
|
@ -280,7 +280,7 @@ smbfs_getattr(ap)
|
|||
smbfs_attr_cachelookup(vp, va);
|
||||
if (np->n_flag & NOPEN)
|
||||
np->n_size = oldsize;
|
||||
smbfs_free_scred(scred);
|
||||
smbfs_free_scred(scred);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue