mirror of
https://github.com/Dasharo/systemd.git
synced 2026-03-06 15:02:31 -08:00
logind: use mfree instead of freep
This commit is contained in:
committed by
Luca Boccassi
parent
3a2f1d19d4
commit
ee3d33c415
@@ -2180,8 +2180,8 @@ static void reset_scheduled_shutdown(Manager *m) {
|
||||
m->scheduled_shutdown_type = NULL;
|
||||
m->scheduled_shutdown_timeout = USEC_INFINITY;
|
||||
m->scheduled_shutdown_uid = UID_INVALID;
|
||||
freep(&m->scheduled_shutdown_tty);
|
||||
freep(&m->wall_message);
|
||||
m->scheduled_shutdown_tty = mfree(m->scheduled_shutdown_tty);
|
||||
m->wall_message = mfree(m->wall_message);
|
||||
m->shutdown_dry_run = false;
|
||||
|
||||
if (m->unlink_nologin) {
|
||||
|
||||
Reference in New Issue
Block a user