implemented deallocateDecryptedOutput

This commit is contained in:
Václav Šmejkal 2023-01-25 14:16:12 +01:00
parent d16f48b760
commit 07c787b22e
Signed by: ENGO150
GPG Key ID: F6D6DF86242C5A59
2 changed files with 2 additions and 2 deletions

View File

@ -62,6 +62,6 @@ int main(void)
//DEALLOCATION
free(usedKey);
deallocateLogger(logger);
deallocateDoublePointer(decrypted);
deallocateDecryptedOutput(decrypted);
return exitCode;
}

View File

@ -106,7 +106,7 @@ decryptedOutput decryptLogger(logFile logger) //TODO: Fix valgrind issues
//DEALLOCATION
free(rawContent);
fclose(file);
deallocateDoublePointer(content);
deallocateDecryptedOutput((decryptedOutput) { content, lines }); //fuck the system lmao
return (decryptedOutput)
{