projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1262ecb
)
core: TAKE_PTR in timer_add_one_calendar_spec
author
Anita Zhang
<the.anitazha@gmail.com>
Thu, 22 Aug 2019 06:03:16 +0000
(23:03 -0700)
committer
Zbigniew Jędrzejewski-Szmek
<zbyszek@in.waw.pl>
Thu, 22 Aug 2019 09:02:56 +0000
(11:02 +0200)
Introduced in d00a52c
Fixes #13373
src/core/dbus-timer.c
patch
|
blob
|
history
diff --git
a/src/core/dbus-timer.c
b/src/core/dbus-timer.c
index
2f61a58
..
439c276
100644
(file)
--- 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);