mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-02-23 21:57:46 +03:00
core: TAKE_PTR in timer_add_one_calendar_spec
Introduced in d00a52c Fixes #13373
This commit is contained in:
parent
1262ecb983
commit
23f8fbb303
@ -196,7 +196,7 @@ static int timer_add_one_calendar_spec(
|
|||||||
|
|
||||||
*v = (TimerValue) {
|
*v = (TimerValue) {
|
||||||
.base = base,
|
.base = base,
|
||||||
.calendar_spec = c,
|
.calendar_spec = TAKE_PTR(c),
|
||||||
};
|
};
|
||||||
|
|
||||||
LIST_PREPEND(value, t->values, v);
|
LIST_PREPEND(value, t->values, v);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user