My salary got credited twice

As the hed- my dec month salary got credited twice, I have not tild the hr or management, was planning of quitting anyway. Last working day is March 1st hope they don't ask it before that. But will I be liable to pay my company anything back?? Please help me