mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-27 19:37:53 +01:00
o Call fts_close() before exit.
Obtained from: NetBSD, Coverity ID 1754
This commit is contained in:
parent
3463a7b118
commit
9926c77bc7
@ -476,6 +476,7 @@ copy(char *argv[], enum op type, int fts_options)
|
||||
}
|
||||
if (errno)
|
||||
err(1, "fts_read");
|
||||
fts_close(ftsp);
|
||||
return (rval);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user