toit
toit copied to clipboard
MessageEncoder probably leaks memory when there are errors during encoding.
The destructor needs to clean up, and there needs to be a dont_free() method for use when its allocations have been handed over to the system (put in the Message).
Did this get worse recently, @erikcorry?
We believe this is solved by 2c60b5b2e47c33ba2eaea62ffb7e589300920497.