| Index: runtime/bin/dbg_connection.cc
|
| diff --git a/runtime/bin/dbg_connection.cc b/runtime/bin/dbg_connection.cc
|
| index 1d722b9212d9927073b0fb1ecc66b9b8e2c2f6e7..db77a1682dfd1c1f64650e5e68d454179c0b450b 100644
|
| --- a/runtime/bin/dbg_connection.cc
|
| +++ b/runtime/bin/dbg_connection.cc
|
| @@ -300,9 +300,11 @@ int DebuggerConnectionHandler::StartHandler(const char* address,
|
| // debugger commands received on these connections.
|
| ASSERT(listener_fd_ == -1);
|
| OSError *os_error;
|
| - SocketAddresses* addresses = Socket::LookupAddress(address, -1, &os_error);
|
| + AddressList<SocketAddress>* addresses =
|
| + Socket::LookupAddress(address, -1, &os_error);
|
| listener_fd_ = ServerSocket::CreateBindListen(
|
| addresses->GetAt(0)->addr(), port_number, 1);
|
| + delete addresses;
|
| port_number = Socket::GetPort(listener_fd_);
|
| DebuggerConnectionImpl::StartHandler(port_number);
|
| return port_number;
|
|
|