added missing deallocation

This commit is contained in:
Václav Šmejkal 2022-04-27 18:18:40 +02:00
parent 9b57343c4c
commit fb31bb9859

View File

@ -84,5 +84,8 @@ decryptText(char *text, char *key)
returningText[i] = (char) textKeyChain[i]; returningText[i] = (char) textKeyChain[i];
} }
//DEALLOCATION
free(textKeyChain);
return returningText; return returningText;
} }