X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Flogin%2Flogind-session.c;h=2a2eaaa83cc8fcfd113962d5fa38600daeb8b844;hb=03aeb1036dde68c309cb2afb9e5d523c60629115;hp=5b7a67e33010d4e645f41f2ac760450f86b776db;hpb=af0d30d5c8d6980c3612ed2e0bef8691f936049c;p=elogind.git diff --git a/src/login/logind-session.c b/src/login/logind-session.c index 5b7a67e33..2a2eaaa83 100644 --- a/src/login/logind-session.c +++ b/src/login/logind-session.c @@ -521,7 +521,7 @@ static int session_start_scope(Session *s) { assert(s->user); if (!s->scope) { - _cleanup_bus_error_free_ sd_bus_error error = SD_BUS_ERROR_NULL; + _cleanup_(sd_bus_error_free) sd_bus_error error = SD_BUS_ERROR_NULL; char *scope, *job = NULL; const char *description; @@ -646,7 +646,7 @@ int session_start(Session *s) { #if 0 /// UNNEEDED by elogind static int session_stop_scope(Session *s, bool force) { - _cleanup_bus_error_free_ sd_bus_error error = SD_BUS_ERROR_NULL; + _cleanup_(sd_bus_error_free) sd_bus_error error = SD_BUS_ERROR_NULL; char *job = NULL; int r; @@ -677,7 +677,7 @@ static int session_stop_scope(Session *s, bool force) { #endif // 0 static int session_stop_cgroup(Session *s, bool force) { - _cleanup_bus_error_free_ sd_bus_error error = SD_BUS_ERROR_NULL; + _cleanup_(sd_bus_error_free) sd_bus_error error = SD_BUS_ERROR_NULL; int r; assert(s);