itsvery common problem observed normally in newly married couple, vaginal pH changes due to sexual intercourse.
am not clear why she asked male partner to take anti-fungal medicine i.e. zocon
, probably she had suspected infection component in you as well,otherwise its not essential for male partner as per recent guidelines.
your partner can continue-v-wash afterwards also, it balances the pH in vagina, healthy pH itself acts as a barrier for most of the infections. and yes, medicine is pretty safe for both of you.to avoid fungal infections, one should avoid to use wet or damp undergarments,make a habit of taking wash immediately after intercourse to avoid flaring of infections.
hope this helps you.