aqhome: fixed memory leaks.

This commit is contained in:
Martin Preuss
2023-04-26 02:07:00 +02:00
parent 8228f2cad4
commit 5ba0bdff55
4 changed files with 5 additions and 2 deletions

View File

@@ -84,6 +84,8 @@ void _freeData(void *bp, void *p)
AQH_ENDPOINT_MQTTC *xep;
xep=(AQH_ENDPOINT_MQTTC*) p;
free(xep->clientId);
free(xep->topicPrefix);
GWEN_FREE_OBJECT(xep);
}