Fix a potential memory leak.