]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
sd-bus: drop some unused fields from the sd_bus_message structure
authorLennart Poettering <lennart@poettering.net>
Wed, 20 Dec 2017 17:02:16 +0000 (18:02 +0100)
committerLennart Poettering <lennart@poettering.net>
Fri, 5 Jan 2018 12:58:32 +0000 (13:58 +0100)
src/libsystemd/sd-bus/bus-message.c
src/libsystemd/sd-bus/bus-message.h

index 219cff1f6e7707af86d68eac9dfa96fe78d1c10f..119c43bc9bcbd4abef11fc7b782e8fae5aaedaf0 100644 (file)
@@ -127,7 +127,6 @@ static void message_free(sd_bus_message *m) {
         if (m->iovec != m->iovec_fixed)
                 free(m->iovec);
 
-        m->destination_ptr = mfree(m->destination_ptr);
         message_reset_containers(m);
         free(m->root_container.signature);
         free(m->root_container.offsets);
index 1e4b20926d56d4348771e3f539f8adcfe780d2cf..88998700d6b615972a11f20ccbf9e3210cc896b9 100644 (file)
@@ -136,10 +136,6 @@ struct sd_bus_message {
 
         usec_t timeout;
 
-        char sender_buffer[3 + DECIMAL_STR_MAX(uint64_t) + 1];
-        char destination_buffer[3 + DECIMAL_STR_MAX(uint64_t) + 1];
-        char *destination_ptr;
-
         size_t header_offsets[_BUS_MESSAGE_HEADER_MAX];
         unsigned n_header_offsets;
 };