Fix inversion of full_punch_interval
Fix memory leaks in GenericCAO, ShaderSource and Player classes