awslabs / aws-c-mqtt

C99 implementation of the MQTT 3.1.1 specification.
Apache License 2.0
93 stars 30 forks source link

(WIP) Only free the topic filter string if the current topic owns it #289

Closed TwistedTwigleg closed 1 year ago

TwistedTwigleg commented 1 year ago

Description of changes:

Changes to the topic tree to prevent segfaults when freeing the topic filter.

Still WIP


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

TwistedTwigleg commented 1 year ago

Closing now that a solution was found in https://github.com/awslabs/aws-c-mqtt/pull/297