mirror of
https://github.com/systemd/systemd.git
synced 2025-02-01 09:47:35 +03:00
sd-bus: Use goto finish instead of return in bus_add_match_full
Fixes #25340
This commit is contained in:
parent
1af427632f
commit
0f3c342903
@ -3529,7 +3529,7 @@ static int bus_add_match_full(
|
||||
s);
|
||||
|
||||
if (r < 0)
|
||||
return r;
|
||||
goto finish;
|
||||
|
||||
/* Make the slot of the match call floating now. We need the reference, but we don't
|
||||
* want that this match pins the bus object, hence we first create it non-floating, but
|
||||
|
Loading…
x
Reference in New Issue
Block a user