mirror of
https://github.com/torvalds/linux.git
synced 2024-11-16 00:52:01 +00:00
V4L/DVB (6261): Cleans mem->vmalloc after vfree
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
This commit is contained in:
parent
28318c72ad
commit
c520a4970c
@ -372,6 +372,7 @@ void videobuf_vmalloc_free (struct videobuf_buffer *buf)
|
||||
MAGIC_CHECK(mem->magic,MAGIC_VMAL_MEM);
|
||||
|
||||
vfree(mem->vmalloc);
|
||||
mem->vmalloc=NULL;
|
||||
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user