diff --git a/tests/test-read-dwarf.cc b/tests/test-read-dwarf.cc index 3519a529..9ba4d55b 100644 --- a/tests/test-read-dwarf.cc +++ b/tests/test-read-dwarf.cc @@ -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; }