tvi_def.h: sizeof(type) -> sizeof(*ptr)

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32224 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
diego 2010-09-13 18:06:20 +00:00 committed by Uoti Urpala
parent 39f7201ea4
commit d65c47dfd0
1 changed files with 1 additions and 1 deletions

View File

@ -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;