From: Ludwig Nussel Date: Mon, 7 Mar 2022 12:33:59 +0000 (+0100) Subject: logind: use mfree instead of freep X-Git-Tag: v251-rc1~192 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ee3d33c415d426ec3459435bcb6c45390f343044;p=thirdparty%2Fsystemd.git logind: use mfree instead of freep --- diff --git a/src/login/logind-dbus.c b/src/login/logind-dbus.c index e22e82cd7c7..7f6a6cce183 100644 --- a/src/login/logind-dbus.c +++ b/src/login/logind-dbus.c @@ -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) {