service: fix minor memory leak

This commit is contained in:
Lennart Poettering 2010-07-11 00:52:28 +02:00
parent 65e92d67b6
commit 7740296dcf
1 changed files with 1 additions and 0 deletions

View File

@ -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:")) {