added missing textKeyChain deallocation

This commit is contained in:
Václav Šmejkal 2022-05-11 17:41:45 +02:00
parent 7015a58762
commit e60c05a59f
2 changed files with 6 additions and 0 deletions

View File

@ -89,5 +89,8 @@ outputFlags decryptText(char *text, char *key, inputFlags flags)
key //USED KEY
};
//DEALLOCATION
free(textKeyChain);
return output;
}

View File

@ -102,5 +102,8 @@ outputFlags encryptText(char *text, char *keyNew, inputFlags flags)
key //GENERATED/USED KEY
};
//DEALLOCATION
free(textKeyChain);
return output;
}