mirror of
https://github.com/morgan9e/systemd
synced 2026-04-14 16:37:19 +09:00
core: use safe_fclose() where appropriate
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user