Compulsively fixing memory leak