diff --git a/pcsx2/DEV9/sockets.cpp b/pcsx2/DEV9/sockets.cpp index e6ee824f58..b01eed7dba 100644 --- a/pcsx2/DEV9/sockets.cpp +++ b/pcsx2/DEV9/sockets.cpp @@ -232,7 +232,6 @@ SocketAdapter::SocketAdapter() if (!foundAdapter) { Console.Error("DEV9: Socket: Auto Selection Failed, Check You Connection or Manually Specify Adapter"); - freeifaddrs(buffer); return; } } @@ -676,9 +675,6 @@ void SocketAdapter::reloadSettings() foundAdapter = GetIfSelectedAdapter(EmuConfig.DEV9.EthDevice, &adapter, &buffer); else foundAdapter = GetIfAutoAdapter(&adapter, &buffer); - - if (foundAdapter) - freeifaddrs(buffer); #endif const IP_Address ps2IP = {internalIP.bytes[0], internalIP.bytes[1], internalIP.bytes[2], 100};