fix memory leak
this was previously incorrectly fixed in a6744b81777ab8247908350bd15cca49bedf5208
fix memory leaks in loop_spawn
THESE ARE UGLY HACKS TO BE REVIEWED
fix misc memory leaks in mpirun when invoking
mpirun -np 1 --mca btl tcp,self ./loop_spawn
THESE ARE MOSTLY UGLY HACKS THAT MUST BE REVIEWED
fix even more memory leaks on mpirun
THESE ARE MOSTLY UGLY HACKS THAT MUST BE REVIEWED