Skip to content

Commit

Permalink
Revert "std::shared_ptr Memory Leak (#3680)" (#3682)
Browse files Browse the repository at this point in the history
This reverts commit b2c6788.
  • Loading branch information
me-no-dev authored Jan 29, 2020
1 parent b2c6788 commit 109ba7a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libraries/WiFi/src/WiFiClient.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -196,8 +196,8 @@ WiFiClient & WiFiClient::operator=(const WiFiClient &other)

void WiFiClient::stop()
{
clientSocketHandle.reset(); // clientSocketHandle = NULL;
_rxBuffer.reset(); // _rxBuffer = NULL;
clientSocketHandle = NULL;
_rxBuffer = NULL;
_connected = false;
}

Expand Down

1 comment on commit 109ba7a

@paoloinverse
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In spite of these modifications, there still appears to be a memory leak somewhere

Please sign in to comment.