From 23f8fbb303f1073cd1e6b93d490ea43d03ca6823 Mon Sep 17 00:00:00 2001 From: Anita Zhang Date: Wed, 21 Aug 2019 23:03:16 -0700 Subject: [PATCH] core: TAKE_PTR in timer_add_one_calendar_spec Introduced in d00a52c Fixes #13373 --- src/core/dbus-timer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/dbus-timer.c b/src/core/dbus-timer.c index 2f61a58..439c276 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); -- 2.7.4