Use do_props = 1 when calling MqttClient_DecodePacket from MqttClient_WaitType to free property list allocated for temp packet_obj when decoding packet.
This fixes ZD14434
Tested with this modified mqttsimple test (in ZD ticket).
./configure --disable-tls --enable-v5 --disable-shared --enable-debug CFLAGS="-DMQTT_MAX_PROPS 10"
Use
do_props
= 1 when callingMqttClient_DecodePacket
fromMqttClient_WaitType
to free property list allocated for temppacket_obj
when decoding packet.This fixes ZD14434
Tested with this modified mqttsimple test (in ZD ticket).
./configure --disable-tls --enable-v5 --disable-shared --enable-debug CFLAGS="-DMQTT_MAX_PROPS 10"