From c4a5d24aa3e172bbffc70c345c9135dcd6f23bd7 Mon Sep 17 00:00:00 2001 From: ENGO150 Date: Tue, 8 Mar 2022 19:01:42 +0100 Subject: [PATCH] fixed memory bug --- src/encrypter.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/encrypter.c b/src/encrypter.c index b973f74..9b73e3f 100644 --- a/src/encrypter.c +++ b/src/encrypter.c @@ -114,6 +114,8 @@ encryptText(char *text, char *keyNew) { strcat(returningText, "."); } + + free(textBuffer); } //DEALLOCATION