diff options
Diffstat (limited to 'src/net/ea')
-rw-r--r-- | src/net/ea/inventoryhandler.cpp | 4 | ||||
-rw-r--r-- | src/net/ea/inventoryrecv.cpp | 2 | ||||
-rw-r--r-- | src/net/ea/network.cpp | 6 | ||||
-rw-r--r-- | src/net/ea/partyhandler.cpp | 2 |
4 files changed, 7 insertions, 7 deletions
diff --git a/src/net/ea/inventoryhandler.cpp b/src/net/ea/inventoryhandler.cpp index faed9df20..848b8db91 100644 --- a/src/net/ea/inventoryhandler.cpp +++ b/src/net/ea/inventoryhandler.cpp @@ -52,12 +52,12 @@ InventoryHandler::~InventoryHandler() storageWindow = nullptr; } - delete2(InventoryRecv::mStorage); + delete2(InventoryRecv::mStorage) } void InventoryHandler::clear() const { - delete2(InventoryRecv::mStorage); + delete2(InventoryRecv::mStorage) } bool InventoryHandler::canSplit(const Item *const item A_UNUSED) const diff --git a/src/net/ea/inventoryrecv.cpp b/src/net/ea/inventoryrecv.cpp index 2e6a7e2ac..f95d0d40d 100644 --- a/src/net/ea/inventoryrecv.cpp +++ b/src/net/ea/inventoryrecv.cpp @@ -137,7 +137,7 @@ void InventoryRecv::processPlayerStorageClose(Net::MessageIn &msg A_UNUSED) if (mStorage != nullptr) mStorage->clear(); - delete2(mStorage); + delete2(mStorage) BLOCK_END("InventoryRecv::processPlayerStorageClose") } diff --git a/src/net/ea/network.cpp b/src/net/ea/network.cpp index 11a0757f1..4a4c3d0df 100644 --- a/src/net/ea/network.cpp +++ b/src/net/ea/network.cpp @@ -90,9 +90,9 @@ Network::~Network() SDL_DestroyMutex(mMutexOut); mMutexOut = nullptr; - delete2Arr(mInBuffer); - delete2Arr(mOutBuffer); - delete2Arr(mPackets); + delete2Arr(mInBuffer) + delete2Arr(mOutBuffer) + delete2Arr(mPackets) TcpNet::quit(); } diff --git a/src/net/ea/partyhandler.cpp b/src/net/ea/partyhandler.cpp index 715073a46..651d29be5 100644 --- a/src/net/ea/partyhandler.cpp +++ b/src/net/ea/partyhandler.cpp @@ -44,7 +44,7 @@ PartyHandler::PartyHandler() : PartyHandler::~PartyHandler() { - delete2(partyTab); + delete2(partyTab) taParty = nullptr; } |