fixed memory leaks, added cleanup code, added valgrind scripts to test binaries
This commit is contained in:
@@ -44,10 +44,12 @@ void AQH_Service_free(AQH_SERVICE *sv)
|
||||
{
|
||||
if (sv) {
|
||||
GWEN_LIST_FINI(AQH_SERVICE, sv);
|
||||
GWEN_INHERIT_FINI(AQH_SERVICE, sv);
|
||||
|
||||
AQH_User_List_free(sv->userList);
|
||||
AQH_Module_List_free(sv->moduleList);
|
||||
AQH_Session_List_free(sv->sessionList);
|
||||
GWEN_INHERIT_FINI(AQH_SERVICE, sv);
|
||||
|
||||
GWEN_FREE_OBJECT(sv);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user