sd-bus: drop some unused fields from the sd_bus_message structure
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user