diff --git a/src/lib/encrypter.c b/src/lib/encrypter.c index a5ea709..5cb084d 100644 --- a/src/lib/encrypter.c +++ b/src/lib/encrypter.c @@ -14,7 +14,7 @@ outputFlags encryptText(char *text, char *keyNew, inputFlags flags) if (!flags.skipCheck) checkVersion(flags); //VARIABLES - char *key = malloc(getKeyLength() + 1); + char *key = malloc(getKeyLength()); char *returningText; char *textBuffer; int *textKeyChain = malloc(sizeof(int) * strlen(text));