moth balls do kill moths, but they are also toxic to small children and infants and I believe the ingredients have been linked to cancer in with extended exposure.
Moths are repelled but not killed by strong odor, so tobacco plugs, strong smelling potpourri sachets, cloves, stron smelling soaps.
I use lavender satchets (buy buds in bulk and make my own), potpourri sachets and soaps of an amount that when you would open a drawer your response would be "HHHMMMM Pretty!" ( or Whoa! per dh). to refresh cedar, sand it down til smelling.
But if there are vegetating spores, the above won't work.
So before I put something away, I always wash it (or dryclean if you're not opposed to the cleaning agents.)
Direct sunlight (for presumably many hours) also will kill spores.