From 0389ca0226cb5017b4a0bb28714af8576517b235 Mon Sep 17 00:00:00 2001 From: ENGO150 Date: Sun, 8 May 2022 19:48:50 +0200 Subject: [PATCH] removed deallocation broking outputFlags --- src/lib/decrypter.c | 3 --- src/lib/encrypter.c | 3 --- 2 files changed, 6 deletions(-) diff --git a/src/lib/decrypter.c b/src/lib/decrypter.c index 685f8be..e2f8def 100644 --- a/src/lib/decrypter.c +++ b/src/lib/decrypter.c @@ -89,8 +89,5 @@ outputFlags decryptText(char *text, char *key, inputFlags flags) key //USED KEY }; - //DEALLOCATION - free(textKeyChain); - return output; } diff --git a/src/lib/encrypter.c b/src/lib/encrypter.c index c29f1c2..7165e56 100644 --- a/src/lib/encrypter.c +++ b/src/lib/encrypter.c @@ -102,8 +102,5 @@ outputFlags encryptText(char *text, char *keyNew, inputFlags flags) key //GENERATED/USED KEY }; - //DEALLOCATION - free(key); - return output; }