This commit is contained in:
Václav Šmejkal 2023-02-21 15:00:59 +01:00
parent ad9f4b8f2d
commit 1e77ff2878
Signed by: ENGO150
GPG Key ID: F6D6DF86242C5A59

View File

@ -152,7 +152,7 @@ void *why2_communicate_thread(void *arg)
printf("User exited.\t%d\n", *((int*) arg));
//DEALLOCATION
remove_node(get_node(why2_communicate_thread));
remove_node(get_node(*((int*) arg)));
close(*((int*) arg));
why2_deallocate(received);