fixed memory problem
This commit is contained in:
parent
271afd53d3
commit
e598a93d5d
@ -102,6 +102,7 @@ encryptText(char *text, char *keyNew)
|
||||
|
||||
//ALLOCATE returningText (WITH THE SEPARATORS)
|
||||
returningText = malloc(numberBuffer + (sizeof(textKeyChain) / sizeof(int) - 1));
|
||||
strcpy(returningText, "");
|
||||
|
||||
//LOAD returningText
|
||||
for (int i = 0; i < (sizeof(textKeyChain) / sizeof(int)); i++)
|
||||
|
Loading…
x
Reference in New Issue
Block a user