Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions erpc_c/setup/erpc_arbitrated_client_setup.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -224,9 +224,9 @@ void erpc_arbitrated_client_deinit(erpc_client_t client)
{
#if ERPC_ALLOCATION_POLICY == ERPC_ALLOCATION_POLICY_STATIC
(void)client;
erpc_assert(client == client.get());
erpc_assert(client == s_client.get());
s_codecFactory.destroy();
crc16.destroy();
s_crc16.destroy();
s_codec.destroy();
s_arbitrator.destroy();
s_client.destroy();
Expand Down
2 changes: 1 addition & 1 deletion erpc_c/setup/erpc_client_setup.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ void erpc_client_deinit(erpc_client_t client)
(void)client;
erpc_assert(client == s_client.get());
s_codecFactory.destroy();
crc16.destroy();
s_crc16.destroy();
s_client.destroy();
#elif ERPC_ALLOCATION_POLICY == ERPC_ALLOCATION_POLICY_DYNAMIC
erpc_assert(client != NULL);
Expand Down