fix: Add missing chunk->payload free in error handler Signed-off-by:1850029304@qq.com

This commit is contained in:
609bob
2026-01-06 14:17:37 +00:00
committed by Roger A. Light
parent c34be255d3
commit b91bb960c0
+1
View File
@@ -234,6 +234,7 @@ error:
mosquitto__free(chunk->source.id);
mosquitto__free(chunk->source.username);
mosquitto__free(chunk->topic);
mosquitto__free(chunk->payload);
mosquitto__free(prop_packet.payload);
return 1;
}