V4L/DVB (6261): Cleans mem->vmalloc after vfree

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
This commit is contained in:
Mauro Carvalho Chehab 2007-09-06 18:55:07 -03:00
parent 28318c72ad
commit c520a4970c

View file

@ -372,6 +372,7 @@ void videobuf_vmalloc_free (struct videobuf_buffer *buf)
MAGIC_CHECK(mem->magic,MAGIC_VMAL_MEM); MAGIC_CHECK(mem->magic,MAGIC_VMAL_MEM);
vfree(mem->vmalloc); vfree(mem->vmalloc);
mem->vmalloc=NULL;
return; return;
} }