summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2014-09-13 11:18:26 -0400
committerDave Reisner <dreisner@archlinux.org>2014-09-13 11:18:26 -0400
commiteed9386748cb6bd7b1aecc62ea723db2e0c541ca (patch)
tree112c57132388334573132f9b1936af095e03fba8 /src/core
parent4d5e13a125cf8d77d432225ab69826caa1d1cf59 (diff)
core: use correct function to free CalendarSpec
Diffstat (limited to 'src/core')
-rw-r--r--src/core/load-fragment.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/load-fragment.c b/src/core/load-fragment.c
index 78da23ea57..7cf19b93cc 100644
--- a/src/core/load-fragment.c
+++ b/src/core/load-fragment.c
@@ -1369,7 +1369,7 @@ int config_parse_timer(const char *unit,
v = new0(TimerValue, 1);
if (!v) {
if (c)
- free(c);
+ calendar_spec_free(c);
return log_oom();
}