These are allocated with new[] so they need to be freed with delete[]

@jmlvanre: Look good to you?