From 7740296dcf581bbaaffa74f6f97a97d1def85e12 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Sun, 11 Jul 2010 00:52:28 +0200 Subject: [PATCH] service: fix minor memory leak --- src/service.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/service.c b/src/service.c index b837cb81..481c044b 100644 --- a/src/service.c +++ b/src/service.c @@ -631,6 +631,7 @@ static int service_load_sysv_path(Service *s, const char *path) { goto finish; } + free(u->meta.description); u->meta.description = d; } else if (startswith_no_case(t, "X-Interactive:")) { -- 2.39.5