Do not say something against someone which you do not want that person to know that u said so. Either ahve courage to go and talk to that person on face the thing which you didnt like, or dont tell to others. When you say we are just talking actually it becomes as bitching which is not appreciable.
You do not like when you hear two people talking bad about you so things which you do not like yourself how can you do?