Add memory leak detector

It isn't ran yet!