service: fix minor memory leak
This commit is contained in:
parent
65e92d67b6
commit
7740296dcf
|
@ -631,6 +631,7 @@ static int service_load_sysv_path(Service *s, const char *path) {
|
||||||
goto finish;
|
goto finish;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
free(u->meta.description);
|
||||||
u->meta.description = d;
|
u->meta.description = d;
|
||||||
|
|
||||||
} else if (startswith_no_case(t, "X-Interactive:")) {
|
} else if (startswith_no_case(t, "X-Interactive:")) {
|
||||||
|
|
Loading…
Reference in a new issue