fix reverse resolving cache: it stored zero length names *) free name only if it has been already allocated *) store name length