added missing deallocation

This commit is contained in:
Václav Šmejkal 2022-03-11 18:28:09 +01:00
parent d140771b74
commit 76b8230cb2

View File

@ -1,4 +1,5 @@
#include <stdio.h>
#include <stdlib.h>
#include "../../include/encrypter.h"
#include "../../include/decrypter.h"
@ -11,5 +12,7 @@ main(int args, char *argv[])
text = decryptText(text, "dsadhagsdhuhasvbdzgavdgasvgzduasvgzdavdhbashudbuas");
printf("%s\n", text);
free(text);
return 0;
}