diff --git a/plugins/persist-sqlite/restore.c b/plugins/persist-sqlite/restore.c index e916de00..4872e69e 100644 --- a/plugins/persist-sqlite/restore.c +++ b/plugins/persist-sqlite/restore.c @@ -223,7 +223,6 @@ static int msg_restore(struct mosquitto_sqlite *ms) if(payload && msg.payloadlen){ msg.plugin_payload = malloc(msg.payloadlen+1); if(!msg.plugin_payload){ - free(msg.plugin_topic); free(msg.plugin_topic); failed++; continue;