Patch a memory leak.