[systemd-commits] src/core

Dave Reisner dreisner at kemper.freedesktop.org
Sat Sep 13 08:19:32 PDT 2014


 src/core/load-fragment.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit eed9386748cb6bd7b1aecc62ea723db2e0c541ca
Author: Dave Reisner <dreisner at archlinux.org>
Date:   Sat Sep 13 11:18:26 2014 -0400

    core: use correct function to free CalendarSpec

diff --git a/src/core/load-fragment.c b/src/core/load-fragment.c
index 78da23e..7cf19b9 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();
         }
 



More information about the systemd-commits mailing list