PMC: fix unmatched new[]/delete