summaryrefslogtreecommitdiff
path: root/channel.c
diff options
context:
space:
mode:
Diffstat (limited to 'channel.c')
-rw-r--r--channel.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/channel.c b/channel.c
index 86e993d..8c32a96 100644
--- a/channel.c
+++ b/channel.c
@@ -55,9 +55,11 @@ struct channel_t *channel_get(int index) {
void channel_free() {
for(int i = 0; i < channel_count; i++) {
free(channels[i].name);
+ free(channels[i].xmlpath);
struct channel_file_t *file = channels[i].files;
while(file) {
struct channel_file_t *next = file->next;
+ free(file->path);
free(file);
file = next;
}