Fixing the switch to new snet_dest_t
Fix for some memory management in distribcommon and leak in htab