changed position of free() to better free memory when name is successfully resolved
changed position of free() to better free memory when name is successfully resolved

rthoelen/NXCore_Kenwood,rthoelen/NXCore_Kenwood