fixed a memory leak triggered by a fault path

the node was overretained