Fix a minor memory leak.