aqhome: fixed memory leaks.

This commit is contained in:
Martin Preuss
2023-04-26 02:07:00 +02:00
parent 8228f2cad4
commit 5ba0bdff55
4 changed files with 5 additions and 2 deletions

View File

@@ -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);
}
}
}