sd-bus: Use goto finish instead of return in bus_add_match_full

Fixes #25340
This commit is contained in:
Daan De Meyer
2022-11-11 15:57:41 +01:00
committed by Luca Boccassi
parent 1af427632f
commit 0f3c342903
+1 -1
View File
@@ -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