diff --git a/src/lib/decrypter.c b/src/lib/decrypter.c index e2f8def..685f8be 100644 --- a/src/lib/decrypter.c +++ b/src/lib/decrypter.c @@ -89,5 +89,8 @@ 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 7165e56..9a93395 100644 --- a/src/lib/encrypter.c +++ b/src/lib/encrypter.c @@ -102,5 +102,8 @@ outputFlags encryptText(char *text, char *keyNew, inputFlags flags) key //GENERATED/USED KEY }; + //DEALLOCATION + free(textKeyChain); + return output; }