Modified delete to delete[]

This commit is contained in:
Karthik Gururaj 2014-03-06 11:13:34 -08:00
parent 27e640d640
commit 7844d956ac
1 changed files with 2 additions and 2 deletions

View File

@ -153,9 +153,9 @@ NUMBER compute_full_prob(testcase *tc, NUMBER *before_last_log)
*before_last_log = result;
#ifndef USE_STACK_ALLOCATION
delete common_pointer_buffer;
delete[] common_pointer_buffer;
//if(locally_allocated)
delete common_buffer;
delete[] common_buffer;
#endif
return result;