Skip to content

Commit 9a149d4

Browse files
committed
fix: delete -> delete[] in testPerm()
1 parent 5577c6d commit 9a149d4

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

sources/gentopo.cc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1573,9 +1573,9 @@ Global void testPerm()
15731573
if (count != nperm) {
15741574
printf("*** %d != %d\n", count, nperm);
15751575
}
1576-
delete p;
1577-
delete q;
1578-
delete r;
1576+
delete[] p;
1577+
delete[] q;
1578+
delete[] r;
15791579
}
15801580

15811581
// } ) ]

0 commit comments

Comments
 (0)