I use vinegar in the pre-wash or baking soda (usually baking soda). I think both of those help neutralize the odor. I can't remember the whole chemistry behind it right now.
No, the smell from the deodorizer doesn't linger.

I use vinegar in my first rinse, then I rinse only one more time with plain water. Never had any problem with left over smell. I love it. Here is an article I found about it. I love the diaper hyena for its articles. Here is what they has to say about vinegar. You can read the whole article here

Vinegar in your cloth diaper wash. Two sides of the coin:

You may be wondering if the use of distilled white vinegar is truly essential in your cloth diaper wash. After all, there seems to be such a good amount to remember as it is, and if you can cut something out of the routine, vinegar seems to be the most viable option.

Well, let us give you some of the attributes of vinegar. And, we are talking distilled white vinegar NOT apple cider vinegar or any other type of vinegar. (Apple cider vinegar will cause your diapers to discolor and become dingy looking.) If you use it at all, you must use distilled white vinegar.

* In some areas with 'hard water,' there is a chance that vinegar can mix with trace minerals in your water supply, causing your diapers to smell acrid once urinated upon. In which case, you would want to cease using vinegar in your diaper pail/wash.
* If you notice a build-up of residue on your diapers or your diapers are not as absorbent AND YOU HAVE NOT been using fabric softener sheets in the dryer or any detergent with fabric softeners built-in, temporarily cease your use of vinegar. In this situation, vinegar might not be the culprit, but once there is a build-up on your diapers, they will need to be 'stripped' before you should continue regular usage of vinegar.
* If you notice that your diaper covers are getting stinky, vinegar may be the culprit. Many of today's diaper covers have some polyester in them and polyester easily holds in smells. Vinegar's acidity can react to baby's acidic urine and together, they can release a very acrid smell.

Vinegar is usually the solution to a good amount of more unnatural substances used in your cloth diaper wash. Just be aware that TOO MUCH of any good thing IS TOO MUCH. We recommend that you use no more than 1/2 cup of distilled white vinegar in any wash cycle. A good way to watch out for this is to get a Downey Fabric Softener ball - sold on most laundry aisles in grocery stores. Fill it 1/2 to 3/4 full of vinegar and pull the top. Throw this into your Hot Wash/Cold Rinse cycle and it will open up in the rinse cycle. This ensures that you use it in the right cycle and also ensures that you don't use too much.

I can never smell vinegar. I add mine to the fabric softner dispenser in my washer and dilute it with water. I know other add theirs to a Downy ball and dilute it with water as well. I only use 1/4c AND dilute it with water and have not had a problem at all. I use it only in the wash cycle.

I use vinegar for all my clothes and diapers. I put it in the fabric softener thingy in the washer. It works well to soften fabric, breaks up uric acid, deodorizes, kills bacteria. And I've never had a problem with lingering odor.