Fix invocation of delete operator in test-read-dwarf.cc

* tests/test-read-dwarf.cc (main): Call delete[], not delete.

Signed-off-by: Dodji Seketeli <dodji@redhat.com>
This commit is contained in:
Dodji Seketeli 2016-05-21 01:58:32 +02:00
parent ce5e4889b1
commit 1fc1032e7d

View File

@ -300,7 +300,7 @@ main(int argc, char *argv[])
for (size_t i = 0; i < nprocs; ++i)
pthread_join(pthr[i], NULL);
delete pthr;
delete [] pthr;
return !is_ok;
}