diff options
Diffstat (limited to 'stream/tvi_def.h')
-rw-r--r-- | stream/tvi_def.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/stream/tvi_def.h b/stream/tvi_def.h index 6dff1c8924..c47b0dfe36 100644 --- a/stream/tvi_def.h +++ b/stream/tvi_def.h @@ -43,6 +43,7 @@ static tvi_handle_t *new_handle(void) h->chanlist_s = NULL; h->norm = -1; h->channel = -1; + h->scan = NULL; return(h); } @@ -51,6 +52,8 @@ static void free_handle(tvi_handle_t *h) if (h) { if (h->priv) free(h->priv); + if (h->scan) + free(h->scan); free(h); } } |