mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-02-14 01:57:27 +03:00
sd-bus: Use goto finish instead of return in bus_add_match_full
Fixes #25340 (cherry picked from commit 0f3c342903d1a09577378912717539b530af1fcf)
This commit is contained in:
parent
0916514b8c
commit
eea92b179d
@ -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