systemctl: pass BUS_MAP_STRDUP when needed (#8682)
This fixes an assert in "systemctl list-dependencies".
Follow-up for a7e4861c74
.
This commit is contained in:
parent
5c69b31c13
commit
f39cbb6e69
|
@ -1680,7 +1680,7 @@ static int list_dependencies_get_dependencies(sd_bus *bus, const char *name, cha
|
|||
"org.freedesktop.systemd1",
|
||||
path,
|
||||
map[arg_dependency],
|
||||
0,
|
||||
BUS_MAP_STRDUP,
|
||||
&error,
|
||||
NULL,
|
||||
&info);
|
||||
|
|
Loading…
Reference in New Issue