1
0
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:
Lennart Poettering 2018-06-04 23:05:39 +02:00
parent 159f1e7666
commit 62b0cbb358

View File

@ -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);