From a04dd381851e9d3cc054369c482e306b626f8887 Mon Sep 17 00:00:00 2001 From: Ian Craggs Date: Sun, 22 Sep 2024 13:02:39 +0100 Subject: [PATCH] Fix some memory not being freed on destroy #1474 --- src/MQTTAsync.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/MQTTAsync.c b/src/MQTTAsync.c index a62a3d03..c381402e 100644 --- a/src/MQTTAsync.c +++ b/src/MQTTAsync.c @@ -498,7 +498,6 @@ void MQTTAsync_destroy(MQTTAsync* handle) MQTTAsync_NULLPublishResponses(m); MQTTAsync_freeResponses(m); - MQTTAsync_NULLPublishCommands(m); MQTTAsync_freeCommands(m); ListFree(m->responses);