summaryrefslogtreecommitdiffstats
path: root/src/basic/calendarspec.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/basic/calendarspec.h')
-rw-r--r--src/basic/calendarspec.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/basic/calendarspec.h b/src/basic/calendarspec.h
index d2a19dd7dd..124f7f5880 100644
--- a/src/basic/calendarspec.h
+++ b/src/basic/calendarspec.h
@@ -61,3 +61,5 @@ int calendar_spec_to_string(const CalendarSpec *spec, char **p);
int calendar_spec_from_string(const char *p, CalendarSpec **spec);
int calendar_spec_next_usec(const CalendarSpec *spec, usec_t usec, usec_t *next);
+
+DEFINE_TRIVIAL_CLEANUP_FUNC(CalendarSpec*, calendar_spec_free);