o Call fts_close() before exit.
Obtained from: NetBSD, Coverity ID 1754
This commit is contained in:
parent
764a094c3f
commit
867e6caf17
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=160098
@ -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