diff options
author | Daan De Meyer <daan.j.demeyer@gmail.com> | 2022-11-11 11:09:28 +0100 |
---|---|---|
committer | Luca Boccassi <luca.boccassi@gmail.com> | 2022-11-11 15:57:41 +0100 |
commit | 0f3c342903d1a09577378912717539b530af1fcf (patch) | |
tree | 1d6306d56bc8e18ccbccb0fc6b5dba3188903003 /src/libsystemd/sd-bus | |
parent | 1af427632fa3a121e1dad1595f6dd64cce4bdbb3 (diff) | |
download | systemd-0f3c342903d1a09577378912717539b530af1fcf.tar.gz |
sd-bus: Use goto finish instead of return in bus_add_match_full
Fixes #25340
Diffstat (limited to 'src/libsystemd/sd-bus')
-rw-r--r-- | src/libsystemd/sd-bus/sd-bus.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsystemd/sd-bus/sd-bus.c b/src/libsystemd/sd-bus/sd-bus.c index 7e72245e8d..ba5ef7de00 100644 --- a/src/libsystemd/sd-bus/sd-bus.c +++ b/src/libsystemd/sd-bus/sd-bus.c @@ -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 |