Destroying drawn gui texture

After I use GUI.DrawTexture to draw a gui texture, how do I destroy it in scripting?

You don't, since it only exists for one frame anyway. Either remove or disable the script with the OnGUI function, or use a boolean variable to toggle whether the texture is drawn or not.