implemented deallocateDoublePointer in utils' decryptLogger

This commit is contained in:
Václav Šmejkal 2023-01-25 12:11:57 +01:00
parent caaa9f9b00
commit 0a0eb94a83
Signed by: ENGO150
GPG Key ID: F6D6DF86242C5A59

View File

@ -110,14 +110,9 @@ char **decryptLogger(logFile logger) //TODO: Fix valgrind issues
}
//DEALLOCATION
for (int i = 0; i < lines; i++) //DEALLOCATE EACH ELEMENT IN content
{
free(content[i]);
}
free(content);
free(rawContent);
fclose(file);
deallocateDoublePointer(content);
return contentDecrypted;
}