aboutsummaryrefslogtreecommitdiffstats
path: root/src/Infobox/Infobox.c
blob: 5043c054600feaf01cb8b5a76dcc866e7d824e0b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
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);
}
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage