Found a bug preventing memory from leaking into oblivion