Still safe to use charger that smells burning

I have been using the same Anker charger and the same cable. But today when I plugged it into a different socket it stopped charging and started getting extremely hot and smelled burning. Is it still safe to keep using the charger? In the original socket I mean. No more warranty by the way. Where I am it’s only 18 months.