[bugfix] free temp buf when parsing sockaddr