implemented deallocateOutput

This commit is contained in:
Václav Šmejkal 2022-05-08 19:56:16 +02:00
parent 7b5f1ba9b6
commit 442c7f3175
2 changed files with 8 additions and 0 deletions

View File

@ -3,6 +3,7 @@
#include <why2/encrypter.h>
#include <why2/flags.h>
#include <why2/misc.h>
int main(void)
{
@ -27,5 +28,8 @@ int main(void)
, TEXT_TO_ENCRYPT, encryptedText.outputText
);
//DEALLOCATION
deallocateOutput(encryptedText);
return 0;
}

View File

@ -5,6 +5,7 @@
#include <why2/encrypter.h>
#include <why2/decrypter.h>
#include <why2/flags.h>
#include <why2/misc.h>
int main(void)
{
@ -27,5 +28,8 @@ int main(void)
exit(1);
}
//DEALLOCATION
deallocateOutput(encrypted);
return 0;
}