o Call fts_close() before exit.
Obtained from: NetBSD, Coverity ID 1754
This commit is contained in:
parent
764a094c3f
commit
867e6caf17
@ -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