mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-10-28 20:25:25 +03:00
load-fragment: fix bad memory access
This commit is contained in:
parent
858c33bf60
commit
cd7409576d
@ -1296,7 +1296,7 @@ int config_parse_path_unit(
|
||||
|
||||
dbus_error_init(&error);
|
||||
|
||||
p = unit_name_printf(u, rvalue);
|
||||
p = unit_name_printf(UNIT(t), rvalue);
|
||||
if (!p)
|
||||
return log_oom();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user