Memory leaks in router and plugins
This ticket is for tracking and fixing memory leaks in DCERouter and plugins. To put in here: notes and fixes on memory leaks found around code. Sometimes a leak may be obvious, but not fixable because of code logic, but it's still worth having a note.