Fixed memory leaks.

This commit is contained in:
Martin Preuss
2023-08-10 13:27:51 +02:00
parent f716ebd338
commit a2c79aa6db
2 changed files with 2 additions and 0 deletions

View File

@@ -307,6 +307,7 @@ AQH_SESSION *_generateSessionForUser(AQH_SERVICE *sv, AQH_USER *u)
session=AQH_Session_new();
AQH_Session_SetUid(session, GWEN_Buffer_GetStart(buf));
GWEN_Buffer_free(buf);
ts=GWEN_Timestamp_NowInLocalTime();
AQH_Session_SetTimestampCreation(session, ts);