added missing deallocation
This commit is contained in:
parent
d140771b74
commit
76b8230cb2
@ -1,4 +1,5 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
#include <stdlib.h>
|
||||||
|
|
||||||
#include "../../include/encrypter.h"
|
#include "../../include/encrypter.h"
|
||||||
#include "../../include/decrypter.h"
|
#include "../../include/decrypter.h"
|
||||||
@ -11,5 +12,7 @@ main(int args, char *argv[])
|
|||||||
|
|
||||||
text = decryptText(text, "dsadhagsdhuhasvbdzgavdgasvgzduasvgzdavdhbashudbuas");
|
text = decryptText(text, "dsadhagsdhuhasvbdzgavdgasvgzduasvgzdavdhbashudbuas");
|
||||||
printf("%s\n", text);
|
printf("%s\n", text);
|
||||||
|
|
||||||
|
free(text);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user