diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2014-05-15 23:27:59 -0400 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2014-05-16 18:03:00 -0400 |
commit | 2915234da0c9f2f8727d91f04857e7b72d6721a9 (patch) | |
tree | c6a2a74395050ad3ec07cbc86408f06eedbd2aee /src/libsystemd/sd-bus/bus-objects.c | |
parent | ee9b9875fd7e0ed6fbab3532944abf4c73353e42 (diff) |
bus: fix unitialized variable access in error path
Diffstat (limited to 'src/libsystemd/sd-bus/bus-objects.c')
-rw-r--r-- | src/libsystemd/sd-bus/bus-objects.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsystemd/sd-bus/bus-objects.c b/src/libsystemd/sd-bus/bus-objects.c index 51d4a62cee..dbb04e5ec6 100644 --- a/src/libsystemd/sd-bus/bus-objects.c +++ b/src/libsystemd/sd-bus/bus-objects.c @@ -1602,7 +1602,7 @@ static int add_object_vtable_internal( sd_bus_object_find_t find, void *userdata) { - sd_bus_slot *s; + sd_bus_slot *s = NULL; struct node_vtable *i, *existing = NULL; const sd_bus_vtable *v; struct node *n; |