fixed memory leaks.
This commit is contained in:
@@ -115,8 +115,9 @@ int main(int argc, char **argv)
|
||||
|
||||
_runService(aqh, eventLoop);
|
||||
|
||||
//AQH_NodeServer_Fini(aqh);
|
||||
AQH_NodeServer_Fini(aqh);
|
||||
AQH_Object_free(aqh);
|
||||
AQH_EventLoop_free(eventLoop);
|
||||
|
||||
GWEN_Gui_SetGui(NULL);
|
||||
GWEN_Gui_free(gui);
|
||||
|
||||
@@ -178,6 +178,9 @@ void GWENHYWFAR_CB _freeData(GWEN_UNUSED void *bp, void *p)
|
||||
AQH_Object_free(xo->ipcEndpoint);
|
||||
AQH_Object_free(xo->ttyEndpoint);
|
||||
AQH_Object_free(xo->brokerEndpoint);
|
||||
AQHNODE_Device_List_free(xo->deviceDefList);
|
||||
GWEN_DB_Group_free(xo->dbArgs);
|
||||
AQH_MsgRequest_free(xo->requestTree);
|
||||
|
||||
AQH_NodeDb_free(xo->nodeDb);
|
||||
free(xo->dbFile);
|
||||
|
||||
Reference in New Issue
Block a user