Don't double free in checkpoint test