finally proper memory leak fix
Merge remote-tracking branch 'TomP2P/master'