1
0
mirror of https://github.com/systemd/systemd.git synced 2024-12-28 11:21:59 +03:00

sd-bus: make sure we properly handle NULL callback functions

This commit is contained in:
Lennart Poettering 2014-05-15 17:54:32 +02:00
parent b7a2bd8270
commit 7e28adeb63

View File

@ -289,7 +289,7 @@ int bus_match_run(
return r;
/* 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;
sd_bus_slot *slot;