memory leak fix for saveNet, changelog for version 0.4-6