fixed memory bug

This commit is contained in:
Václav Šmejkal 2022-03-08 19:01:42 +01:00
parent 59cbdfa4bd
commit c4a5d24aa3

View File

@ -114,6 +114,8 @@ encryptText(char *text, char *keyNew)
{ {
strcat(returningText, "."); strcat(returningText, ".");
} }
free(textBuffer);
} }
//DEALLOCATION //DEALLOCATION