earlephilhower / arduino-pico

Raspberry Pi Pico Arduino core, for all RP2040 and RP2350 boards
GNU Lesser General Public License v2.1
2.04k stars 423 forks source link

Fix leak in HTTPSClient #2256

Closed earlephilhower closed 3 months ago

earlephilhower commented 3 months ago

Fixes #2254

The faked certificate was allocated but not deleted in certain cases. Make sure to clean up in the destructor.