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