fixed memory leaking issue

This commit is contained in:
Václav Šmejkal 2022-03-07 19:32:57 +01:00
parent 21e8354976
commit 2bd5f9556a

View File

@ -30,7 +30,7 @@ encryptText(char *text, char *keyNew)
exit(INVALID_KEY); exit(INVALID_KEY);
} }
key = keyNew; strcpy(key, keyNew);
goto skipKey; goto skipKey;
} }