remove unnecessary init
fix memory leak
fix memory leak
throw away result, we don't care.
remove duplicate varaible.

pidslot == childno