From 7740296dcf581bbaaffa74f6f97a97d1def85e12 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Sun, 11 Jul 2010 00:52:28 +0200 Subject: service: fix minor memory leak --- src/service.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/service.c') diff --git a/src/service.c b/src/service.c index b837cb81e5..481c044b63 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:")) { -- cgit v1.2.3-54-g00ecf