diff options
| author | frosty <gabriel@bwaaa.monster> | 2026-02-23 00:57:21 -0500 |
|---|---|---|
| committer | frosty <gabriel@bwaaa.monster> | 2026-02-23 00:57:21 -0500 |
| commit | b280ab6bcdf6c9bae46a7a21b7138d46d953dd71 (patch) | |
| tree | 39cea490a82a1ae5072c19d1d050d90b881d1a15 /src/Infobox/Infobox.c | |
| download | omnisearch-b280ab6bcdf6c9bae46a7a21b7138d46d953dd71.tar.gz | |
oopsies
Diffstat (limited to 'src/Infobox/Infobox.c')
| -rw-r--r-- | src/Infobox/Infobox.c | 13 |
1 files changed, 13 insertions, 0 deletions
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 <stdlib.h> + +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); +} |
