mirror of
https://github.com/systemd/systemd.git
synced 2024-12-31 21:18:09 +03:00
sd-bus: make sure we properly handle NULL callback functions
This commit is contained in:
parent
b7a2bd8270
commit
7e28adeb63
@ -289,7 +289,7 @@ int bus_match_run(
|
|||||||
return r;
|
return r;
|
||||||
|
|
||||||
/* Run the callback. And then invoke siblings. */
|
/* Run the callback. And then invoke siblings. */
|
||||||
if (node->leaf.callback) {
|
if (node->leaf.callback->callback) {
|
||||||
_cleanup_bus_error_free_ sd_bus_error error_buffer = SD_BUS_ERROR_NULL;
|
_cleanup_bus_error_free_ sd_bus_error error_buffer = SD_BUS_ERROR_NULL;
|
||||||
sd_bus_slot *slot;
|
sd_bus_slot *slot;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user