paho.mqtt.c
paho.mqtt.c copied to clipboard
Fix thoretical possible memory leaks related to topic in error case
This pull request:
MQTTPacket_publish(): Release in error case thetopicwhen also thepackstructore is deleted, which hold the only pointer totopicMQTTAsync_receiveThread(): Add an error-log entry in case of unexpectedly not handled packages