implemented deallocateDoublePointer in utils' decryptLogger
This commit is contained in:
parent
caaa9f9b00
commit
0a0eb94a83
@ -110,14 +110,9 @@ char **decryptLogger(logFile logger) //TODO: Fix valgrind issues
|
|||||||
}
|
}
|
||||||
|
|
||||||
//DEALLOCATION
|
//DEALLOCATION
|
||||||
for (int i = 0; i < lines; i++) //DEALLOCATE EACH ELEMENT IN content
|
|
||||||
{
|
|
||||||
free(content[i]);
|
|
||||||
}
|
|
||||||
|
|
||||||
free(content);
|
|
||||||
free(rawContent);
|
free(rawContent);
|
||||||
fclose(file);
|
fclose(file);
|
||||||
|
deallocateDoublePointer(content);
|
||||||
|
|
||||||
return contentDecrypted;
|
return contentDecrypted;
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user