An Eclipse Paho C client library for MQTT for Windows, Linux and MacOS. API documentation: https://eclipse.github.io/paho.mqtt.c/
1.95k
stars
1.09k
forks
source link
Fix thoretical possible memory leaks related to topic in error case #1521
Open
JuergenKosel opened 3 weeks ago
This pull request:
MQTTPacket_publish()
: Release in error case thetopic
when also thepack
structore is deleted, which hold the only pointer totopic
MQTTAsync_receiveThread()
: Add an error-log entry in case of unexpectedly not handled packages