fixed deallocation order in why2_communicate_thread, again

This commit is contained in:
Václav Šmejkal 2023-02-22 10:54:41 +01:00
parent 66add23df5
commit ba6aacb1b4
Signed by: ENGO150
GPG Key ID: F6D6DF86242C5A59

View File

@ -156,8 +156,8 @@ void *why2_communicate_thread(void *arg)
//DEALLOCATION //DEALLOCATION
why2_deallocate(received); why2_deallocate(received);
remove_node(get_node(connection.connection));
close(connection.connection); close(connection.connection);
remove_node(get_node(connection.connection));
return NULL; return NULL;
} }