paho.mqtt.c icon indicating copy to clipboard operation
paho.mqtt.c copied to clipboard

Fix thoretical possible memory leaks related to topic in error case

Open JuergenKosel opened this issue 1 year ago • 0 comments

This pull request:

  • MQTTPacket_publish(): Release in error case the topic when also the pack structore is deleted, which hold the only pointer to topic
  • MQTTAsync_receiveThread(): Add an error-log entry in case of unexpectedly not handled packages

JuergenKosel avatar Sep 06 '24 11:09 JuergenKosel