mirror of
git://sourceware.org/git/libabigail.git
synced 2024-12-20 17:00:36 +00:00
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:
parent
ce5e4889b1
commit
1fc1032e7d
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user