fixed possible deallocation problem
uninitialised
This commit is contained in:
parent
f71647e0ff
commit
dbe1ba2749
@ -51,7 +51,7 @@ outputFlags encryptText(char *text, char *keyNew)
|
||||
//VARIABLES
|
||||
char *key = malloc(getKeyLength() + 1);
|
||||
char *returningText;
|
||||
char *textBuffer;
|
||||
char *textBuffer = malloc(1);
|
||||
int *textKeyChain = malloc(sizeof(int) * strlen(text));
|
||||
int numberBuffer;
|
||||
FILE *fileBuffer;
|
||||
|
Loading…
x
Reference in New Issue
Block a user