fix new[]/delete mismatch

Found by asan. E.g. ooo45229-2.cgm