Fix double fclose() in an error case.
CID: 1006120 Found with: Coverity Prevent(tm) MFC after: 1 week
This commit is contained in:
parent
956c78c92b
commit
27e21758b8
@ -672,7 +672,7 @@ DoFile(const char *savedir, const char *device)
|
||||
if (fclose(fp) < 0) {
|
||||
syslog(LOG_ERR, "error on %s: %m", corename);
|
||||
nerr++;
|
||||
goto closeall;
|
||||
goto closefd;
|
||||
}
|
||||
|
||||
symlinks_remove();
|
||||
|
Loading…
Reference in New Issue
Block a user