I tried putting it out on the line, hoping the smell would go away, but no luck, but I found that a rinse cycle with a drop of fabric softener did the trick.
I've done both things (it's a common habit of mine) but although they smell OK when they're wet, I can smell it coming back in the airing cupboard when they start drying. Oh dear!