Slow leak introduced by v1.04

Leak discovered by [aiyumi](https://github.com/aiyumi) and fixed/tested by yours truly.