Don't throw it away. You have several options.
1. Make hash out of it.
2. Use the freezer idea, and don't inhale anything funny lookin' that may come out of your weed when you clean/break it up.
First time I was hit by mold, I think I smacked my cousin in the mouth for the packing error then, I sprayed a mix of hydrogen peroxide & white vinegar on the afflicted pot, and put it in the oven to cook off the spray/moisture/mold. I then water cured all that stuff for 1 week...tasted fine.
Ah, I remember bein' so pissed that day. Thanks mold