summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-07-11 00:52:28 +0200
committerLennart Poettering <lennart@poettering.net>2010-07-11 00:52:28 +0200
commit7740296dcf581bbaaffa74f6f97a97d1def85e12 (patch)
treec159dc05c04f93b46dae9874209108e5440da9c9
parent65e92d67b676183dcb3e632198d8f4b04cb04c81 (diff)
service: fix minor memory leak
-rw-r--r--src/service.c1
1 files changed, 1 insertions, 0 deletions
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:")) {