implemented deallocateOutput
This commit is contained in:
parent
7b5f1ba9b6
commit
442c7f3175
@ -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;
|
||||
}
|
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user