A pragmatic and simple approach to fixing a memory leak

Ruby