diff options
Diffstat (limited to 'stream/tvi_def.h')
-rw-r--r-- | stream/tvi_def.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stream/tvi_def.h b/stream/tvi_def.h index d6a4600ae8..2c35160473 100644 --- a/stream/tvi_def.h +++ b/stream/tvi_def.h @@ -47,7 +47,7 @@ static const tvi_functions_t functions = static tvi_handle_t *new_handle(void) { - tvi_handle_t *h = malloc(sizeof(tvi_handle_t)); + tvi_handle_t *h = malloc(sizeof(*h)); if (!h) return NULL; |