fix one compiler memory leak