implemented why2_fdopen
This commit is contained in:
parent
6844b3d218
commit
b27ddb633f
@ -53,7 +53,7 @@ why2_decrypted_output why2_decrypt_logger(why2_log_file logger)
|
|||||||
{
|
{
|
||||||
why2_set_memory_identifier("logger_decryption");
|
why2_set_memory_identifier("logger_decryption");
|
||||||
|
|
||||||
FILE *file = fdopen(logger.file, "r");
|
FILE *file = why2_fdopen(logger.file, "r");
|
||||||
why2_output_flags outputBuffer;
|
why2_output_flags outputBuffer;
|
||||||
char *rawContent;
|
char *rawContent;
|
||||||
char **content;
|
char **content;
|
||||||
@ -116,7 +116,7 @@ why2_decrypted_output why2_decrypt_logger(why2_log_file logger)
|
|||||||
|
|
||||||
//DEALLOCATION
|
//DEALLOCATION
|
||||||
why2_deallocate(rawContent);
|
why2_deallocate(rawContent);
|
||||||
fclose(file);
|
why2_deallocate(file);
|
||||||
why2_deallocate_decrypted_output((why2_decrypted_output) { content, lines }); //fuck the system lmao
|
why2_deallocate_decrypted_output((why2_decrypted_output) { content, lines }); //fuck the system lmao
|
||||||
|
|
||||||
why2_reset_memory_identifier();
|
why2_reset_memory_identifier();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user