diff --git a/src/logger/lib/test/main.c b/src/logger/lib/test/main.c index bc03d76..5f50193 100644 --- a/src/logger/lib/test/main.c +++ b/src/logger/lib/test/main.c @@ -62,6 +62,6 @@ int main(void) //DEALLOCATION free(usedKey); deallocateLogger(logger); - deallocateDoublePointer(decrypted); + deallocateDecryptedOutput(decrypted); return exitCode; } \ No newline at end of file diff --git a/src/logger/lib/utils.c b/src/logger/lib/utils.c index 725bd9b..4f6ac2d 100644 --- a/src/logger/lib/utils.c +++ b/src/logger/lib/utils.c @@ -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) {