Charger with burning smell
It's not worth the potential fire hazard. If you go to Apple.com and look at the reviews on the MacBook chargers, people are very frustrated with the need to replace the chargers so frequently due to wear exactly where you described it. I would highly recommend replacing the charger over repairing it.