From: Lennart Poettering Date: Sat, 10 Jul 2010 22:52:28 +0000 (+0200) Subject: service: fix minor memory leak X-Git-Tag: v3~50 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7740296dcf581bbaaffa74f6f97a97d1def85e12;p=systemd service: fix minor memory leak --- 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:")) {