I'm super-sensitive to odors, and vinegar will remove a musty odor from fabrics, and will eventually remove cigarette smoke, too. Put additional vinegar (1/2 cup) in the rinse cycle, too. It will evaporate in the dryer.
Airing out helps a lot, too. We leave stinky stuff in our garage as long as possible.