Skip to content

Commit 70e6b61

Browse files
authored
Fix bad destructor
1 parent 41f6fe8 commit 70e6b61

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

libraries/WiFiClientSecure/src/WiFiClientSecure.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ WiFiClientSecure::WiFiClientSecure(int sock)
6464
WiFiClientSecure::~WiFiClientSecure()
6565
{
6666
stop();
67+
delete sslclient;
6768
}
6869

6970
WiFiClientSecure &WiFiClientSecure::operator=(const WiFiClientSecure &other)

0 commit comments

Comments
 (0)