1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-06 16:59:03 +03:00

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:
Zbigniew Jędrzejewski-Szmek 2018-04-08 08:12:18 +02:00 committed by Yu Watanabe
parent 5c69b31c13
commit f39cbb6e69

View File

@ -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);