https://github.com/opengl-tutorials/ogl/blob/316cccc5f76f47f09c16089d98be284b689e057d/tutorial18_billboards_and_particles/tutorial18_particles.cpp#L382 You should `delete[] g_particule_color_data` here as well.