summaryrefslogtreecommitdiffstats
path: root/libmpdemux/tv.c
diff options
context:
space:
mode:
Diffstat (limited to 'libmpdemux/tv.c')
-rw-r--r--libmpdemux/tv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmpdemux/tv.c b/libmpdemux/tv.c
index 87f95a9dca..3939ab11f5 100644
--- a/libmpdemux/tv.c
+++ b/libmpdemux/tv.c
@@ -375,7 +375,7 @@ static int open_tv(tvi_handle_t *tvh)
tv_channel_current->prev->next = NULL;
free(tv_channel_current);
} else
- tv_channel_last_real = malloc(sizeof(char)*5);
+ tv_channel_last_real = malloc(5);
if (tv_channel_list) {
int i;