r779: fixed a memory leak in SE