fixed writeLog memory leak

This commit is contained in:
Václav Šmejkal 2022-12-10 15:01:14 +01:00
parent afc9d97bbb
commit b4d1be73f9
No known key found for this signature in database
GPG Key ID: FD749A97DF2D5E19

View File

@ -125,7 +125,7 @@ void writeLog(int loggerFile, char *logMessage)
message = strdup(encrypted.outputText); //COPY
//DEALLOCATION
free(encrypted.usedKey);
deallocateOutput(encrypted);
} else //FUCK ENCRYPTION, LET'S DO IT; WHY WOULD WE EVEN USE WHY2-CORE? HUH?
{
message = strdup(logMessage); //COPY