Unlink NewNode objects from LocalNodes when putnodes fails
Unlink NewNode objects from LocalNodes when putnodes fails

This should fix a crash accessing NewNodes in the destructor of
LocalNode

Alexx99/sdk,BlackFired/sdk,BlackFired/sdk,sergiohs84/sdk,Sisky/sdk,Sisky/sdk,BiuroCo/mega,BlackFired/sdk,Acidburn0zzz/sdk,sergiohs84/sdk,Sisky/sdk,sergiohs84/sdk,Novo1987/sdk,meganz/sdk,PatrickJBaird/sdk,BlackFired/sdk,Alexx99/sdk,BiuroCo/mega,sergiohs84/sdk,BlackFired/sdk,Novo1987/sdk,Acidburn0zzz/sdk,BiuroCo/mega,Acidburn0zzz/sdk,Alexx99/sdk,Novo1987/sdk,meganz/sdk,sergiohs84/sdk,Sisky/sdk,PatrickJBaird/sdk,Acidburn0zzz/sdk,PatrickJBaird/sdk,BiuroCo/mega,PatrickJBaird/sdk,Acidburn0zzz/sdk,SuperStarPL/sdk,meganz/sdk,Sisky/sdk,Alexx99/sdk,Novo1987/sdk,meganz/sdk,sergiohs84/sdk,Acidburn0zzz/sdk,Novo1987/sdk,Acidburn0zzz/sdk,PatrickJBaird/sdk,Alexx99/sdk,sergiohs84/sdk,BiuroCo/mega,SuperStarPL/sdk,meganz/sdk,Novo1987/sdk,BiuroCo/mega,meganz/sdk,SuperStarPL/sdk,BlackFired/sdk,Novo1987/sdk,PatrickJBaird/sdk,sergiohs84/sdk,SuperStarPL/sdk,SuperStarPL/sdk,Novo1987/sdk,SuperStarPL/sdk,Acidburn0zzz/sdk,Alexx99/sdk,Sisky/sdk,meganz/sdk