fixed deallocation order in why2_communicate_thread, again
This commit is contained in:
parent
66add23df5
commit
ba6aacb1b4
@ -156,8 +156,8 @@ void *why2_communicate_thread(void *arg)
|
||||
|
||||
//DEALLOCATION
|
||||
why2_deallocate(received);
|
||||
remove_node(get_node(connection.connection));
|
||||
close(connection.connection);
|
||||
remove_node(get_node(connection.connection));
|
||||
|
||||
return NULL;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user