fixed memory leaks.
This commit is contained in:
@@ -156,8 +156,15 @@ void GWENHYWFAR_CB _freeData(GWEN_UNUSED void *bp, void *p)
|
||||
|
||||
AQH_Object_free(xo->mqttEndpoint);
|
||||
AQH_Object_free(xo->brokerEndpoint);
|
||||
|
||||
|
||||
AQHMQTT_Device_List_free(xo->availableDeviceList);
|
||||
AQHMQTT_Device_List_free(xo->registeredDeviceList);
|
||||
GWEN_DB_Group_free(xo->dbArgs);
|
||||
free(xo->deviceFile);
|
||||
free(xo->pidFile);
|
||||
free(xo->mqttAddress);
|
||||
free(xo->mqttClientId);
|
||||
free(xo->brokerAddress);
|
||||
free(xo->brokerClientId);
|
||||
|
||||
GWEN_FREE_OBJECT(xo);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user