aqhome: fixed memory leaks.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user