From fb31bb985912de56c4720a9faaf7d8cb3d1c3092 Mon Sep 17 00:00:00 2001 From: ENGO150 Date: Wed, 27 Apr 2022 18:18:40 +0200 Subject: [PATCH] added missing deallocation --- src/decrypter.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/decrypter.c b/src/decrypter.c index 675dc8f..e654a54 100644 --- a/src/decrypter.c +++ b/src/decrypter.c @@ -84,5 +84,8 @@ decryptText(char *text, char *key) returningText[i] = (char) textKeyChain[i]; } + //DEALLOCATION + free(textKeyChain); + return returningText; }