diff options
author | Anita Zhang <the.anitazha@gmail.com> | 2019-08-22 08:03:16 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2019-08-22 11:02:56 +0200 |
commit | 23f8fbb303f1073cd1e6b93d490ea43d03ca6823 (patch) | |
tree | 4d515564af2ca661fbd2100a4ebcd635388aa63c /src/core/dbus-timer.c | |
parent | hwdb: add sensor location for HP ProBook4535s (diff) | |
download | systemd-23f8fbb303f1073cd1e6b93d490ea43d03ca6823.tar.xz systemd-23f8fbb303f1073cd1e6b93d490ea43d03ca6823.zip |
core: TAKE_PTR in timer_add_one_calendar_spec
Introduced in d00a52c
Fixes #13373
Diffstat (limited to '')
-rw-r--r-- | src/core/dbus-timer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/dbus-timer.c b/src/core/dbus-timer.c index 2f61a5842d..439c276fac 100644 --- a/src/core/dbus-timer.c +++ b/src/core/dbus-timer.c @@ -196,7 +196,7 @@ static int timer_add_one_calendar_spec( *v = (TimerValue) { .base = base, - .calendar_spec = c, + .calendar_spec = TAKE_PTR(c), }; LIST_PREPEND(value, t->values, v); |