When cleaning your washing machine with vinegar you should pour the vinegar directly into the washing machine tub and you should also add some baking soda to the soap dispenser of the washing machine if it's a front load washing machine.
Otherwise just put the baking soda into the washing machine drum along with the vinegar if your washing machine doesn't have a soap dispenser in it.