fixed memory leaking issue
This commit is contained in:
parent
21e8354976
commit
2bd5f9556a
@ -30,7 +30,7 @@ encryptText(char *text, char *keyNew)
|
||||
exit(INVALID_KEY);
|
||||
}
|
||||
|
||||
key = keyNew;
|
||||
strcpy(key, keyNew);
|
||||
|
||||
goto skipKey;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user