| Index: runtime/bin/socket_win.cc
|
| diff --git a/runtime/bin/socket_win.cc b/runtime/bin/socket_win.cc
|
| index 19625e725aeaf92aa2b6fa69d44b51a00daea5c3..30bdc44d2f06a06925978b0d2e423939e93d7818 100644
|
| --- a/runtime/bin/socket_win.cc
|
| +++ b/runtime/bin/socket_win.cc
|
| @@ -5,17 +5,18 @@
|
| #include "platform/globals.h"
|
| #if defined(TARGET_OS_WINDOWS)
|
|
|
| +#include "bin/socket.h"
|
| +#include "bin/socket_win.h"
|
| +
|
| #include "bin/builtin.h"
|
| #include "bin/eventhandler.h"
|
| #include "bin/file.h"
|
| #include "bin/lockers.h"
|
| #include "bin/log.h"
|
| -#include "bin/socket.h"
|
| #include "bin/thread.h"
|
| #include "bin/utils.h"
|
| #include "bin/utils_win.h"
|
|
|
| -
|
| namespace dart {
|
| namespace bin {
|
|
|
| @@ -366,7 +367,6 @@ bool Socket::ParseAddress(int type, const char* address, RawAddr* addr) {
|
| ASSERT(type == SocketAddress::TYPE_IPV6);
|
| result = InetPton(AF_INET6, system_address, &addr->in6.sin6_addr);
|
| }
|
| - free(const_cast<wchar_t*>(system_address));
|
| return result == 1;
|
| }
|
|
|
|
|