mirror of
https://github.com/systemd/systemd.git
synced 2024-11-01 09:21:26 +03:00
core: use safe_fclose() where appropriate
This commit is contained in:
parent
159f1e7666
commit
62b0cbb358
@ -3380,8 +3380,7 @@ int manager_reload(Manager *m) {
|
||||
r = q;
|
||||
}
|
||||
|
||||
fclose(f);
|
||||
f = NULL;
|
||||
f = safe_fclose(f);
|
||||
|
||||
/* Re-register notify_fd as event source */
|
||||
q = manager_setup_notify(m);
|
||||
|
Loading…
Reference in New Issue
Block a user