mirror of
https://github.com/systemd/systemd.git
synced 2024-12-13 12:13:37 +08:00
core: fix assert when trying to serialize non-initialized bus peer tracker object
This commit is contained in:
parent
4d46396131
commit
e4e703c307
@ -1163,7 +1163,6 @@ int bus_foreach_bus(
|
||||
void bus_track_serialize(sd_bus_track *t, FILE *f) {
|
||||
const char *n;
|
||||
|
||||
assert(t);
|
||||
assert(f);
|
||||
|
||||
for (n = sd_bus_track_first(t); n; n = sd_bus_track_next(t))
|
||||
|
Loading…
Reference in New Issue
Block a user