diff options
-rw-r--r-- | dbus/kdbus-common.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/dbus/kdbus-common.c b/dbus/kdbus-common.c index 03428aaf..bfceef94 100644 --- a/dbus/kdbus-common.c +++ b/dbus/kdbus-common.c @@ -339,7 +339,7 @@ _kdbus_hello (kdbus_t *kdbus, const char *activator_name, const char *connection_name) { - struct kdbus_cmd_hello *hello; + struct kdbus_cmd_hello *hello; struct kdbus_item *item, *items; __u64 hello_size; size_t activator_name_size = 0; @@ -415,6 +415,8 @@ _kdbus_hello (kdbus_t *kdbus, kdbus->bloom = item->bloom_parameter; } + free_by_offset (kdbus, offset); + return 0; } |