initialed rcv buffer to fix memory leak
This commit is contained in:
parent
d7521e8884
commit
456e2d17a7
@ -209,7 +209,8 @@ HYPRE_Int hypre_DataExchangeList(HYPRE_Int num_contacts,
|
||||
response_obj->send_response_overhead = overhead;
|
||||
response_obj->send_response_storage = max_response_size;
|
||||
|
||||
send_response_buf = hypre_MAlloc(max_response_total_bytes);
|
||||
/*send_response_buf = hypre_MAlloc(max_response_total_bytes);*/
|
||||
send_response_buf = hypre_CAlloc(max_response_size+overhead, response_obj_size);
|
||||
|
||||
/*allocate space for inital recv array for the responses - give each processor
|
||||
size max_response_size */
|
||||
|
||||
Loading…
Reference in New Issue
Block a user