diff --git a/aqhome/mqtt/endpoint_mqttc.c b/aqhome/mqtt/endpoint_mqttc.c index 6804600..50a6a2d 100644 --- a/aqhome/mqtt/endpoint_mqttc.c +++ b/aqhome/mqtt/endpoint_mqttc.c @@ -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); } diff --git a/aqhome/msg/endpoint_tty.c b/aqhome/msg/endpoint_tty.c index eb96329..7661b06 100644 --- a/aqhome/msg/endpoint_tty.c +++ b/aqhome/msg/endpoint_tty.c @@ -89,6 +89,7 @@ void _freeData(void *bp, void *p) AQH_MSG_ENDPOINT_TTY *xep; xep=(AQH_MSG_ENDPOINT_TTY*) p; + free(xep->deviceName); GWEN_FREE_OBJECT(xep); } diff --git a/aqhome/msgmanager.c b/aqhome/msgmanager.c index 9b62140..4451218 100644 --- a/aqhome/msgmanager.c +++ b/aqhome/msgmanager.c @@ -126,8 +126,8 @@ void AQH_MsgManager_SetDbFilename(GWEN_MSG_ENDPOINT_MGR *emgr, const char *s) rv=GWEN_DB_ReadFile(dbNodeDb, xmgr->dbFilename, GWEN_DB_FLAGS_DEFAULT); if (rv==0) { AQH_NodeDb_fromDb(xmgr->nodeDb, dbNodeDb); - GWEN_DB_Group_free(dbNodeDb); } + GWEN_DB_Group_free(dbNodeDb); } } } diff --git a/aqhome/nodes/nodeinfo.t2d b/aqhome/nodes/nodeinfo.t2d index 1f1172b..84db14b 100644 --- a/aqhome/nodes/nodeinfo.t2d +++ b/aqhome/nodes/nodeinfo.t2d @@ -122,7 +122,7 @@ NULL NULL public - + own