From f3aa7ca0bc2ef7c286609e8f87d07cc2568093af Mon Sep 17 00:00:00 2001 From: frosty Date: Tue, 6 Jan 2026 23:46:24 -0500 Subject: rebase(d) --- src/Infobox/Infobox.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 src/Infobox/Infobox.c (limited to 'src/Infobox/Infobox.c') diff --git a/src/Infobox/Infobox.c b/src/Infobox/Infobox.c new file mode 100644 index 0000000..5043c05 --- /dev/null +++ b/src/Infobox/Infobox.c @@ -0,0 +1,13 @@ +#include "Infobox.h" +#include + +void free_infobox(InfoBox *info) { + if (info->title) + free(info->title); + if (info->thumbnail_url) + free(info->thumbnail_url); + if (info->extract) + free(info->extract); + if (info->url) + free(info->url); +} -- cgit v1.2.3