projects
/
systemd
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1af4276
)
sd-bus: Use goto finish instead of return in bus_add_match_full
author
Daan De Meyer
<daan.j.demeyer@gmail.com>
Fri, 11 Nov 2022 10:09:28 +0000
(11:09 +0100)
committer
Luca Boccassi
<luca.boccassi@gmail.com>
Fri, 11 Nov 2022 14:57:41 +0000
(15:57 +0100)
Fixes #25340
src/libsystemd/sd-bus/sd-bus.c
patch
|
blob
|
history
diff --git
a/src/libsystemd/sd-bus/sd-bus.c
b/src/libsystemd/sd-bus/sd-bus.c
index 7e72245e8dca2c48d706b22440a44f5348321f2a..ba5ef7de006f61740a1c375e8cd4c7081095501a 100644
(file)
--- 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