1.1 --- a/libipc/lib/src/message.c Sun Feb 18 01:36:59 2024 +0100
1.2 +++ b/libipc/lib/src/message.c Fri Feb 23 01:29:50 2024 +0100
1.3 @@ -1,7 +1,7 @@
1.4 /*
1.5 * Interprocess communication message abstraction.
1.6 *
1.7 - * Copyright (C) 2018, 2019, 2021, 2022, 2023 Paul Boddie <paul@boddie.org.uk>
1.8 + * Copyright (C) 2018, 2019, 2021-2024 Paul Boddie <paul@boddie.org.uk>
1.9 *
1.10 * This program is free software; you can redistribute it and/or
1.11 * modify it under the terms of the GNU General Public License as
1.12 @@ -63,7 +63,7 @@
1.13
1.14 void ipc_message_free(ipc_message_t *msg)
1.15 {
1.16 - _free_expected_capabilities(&msg->bregs, msg->expected_items);
1.17 + _free_expected_capabilities(&msg->bregs, msg->import_item, msg->expected_items);
1.18 }
1.19
1.20 /* Clear message attributes for sending and response handling. */