1
0
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:
Daan De Meyer 2022-11-11 11:09:28 +01:00 committed by Luca Boccassi
parent 1af427632f
commit 0f3c342903

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