diff --git a/src/logger/lib/utils.c b/src/logger/lib/utils.c index 587120c..4aa5728 100644 --- a/src/logger/lib/utils.c +++ b/src/logger/lib/utils.c @@ -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; } \ No newline at end of file