Calling Release() in the destructor on every mesh and texture slot doesn't work for freed meshes and textures.