mirror of
https://github.com/systemd/systemd.git
synced 2024-10-27 10:25:37 +03:00
pid1: fix free of uninitialized pointer in unit_fail_if_noncanonical()
https://bugzilla.redhat.com/show_bug.cgi?id=1653068
This commit is contained in:
parent
0b57803630
commit
58d9d89b4b
@ -4741,7 +4741,7 @@ void unit_warn_if_dir_nonempty(Unit *u, const char* where) {
|
||||
}
|
||||
|
||||
int unit_fail_if_noncanonical(Unit *u, const char* where) {
|
||||
_cleanup_free_ char *canonical_where;
|
||||
_cleanup_free_ char *canonical_where = NULL;
|
||||
int r;
|
||||
|
||||
assert(u);
|
||||
|
Loading…
Reference in New Issue
Block a user