mirror of
https://github.com/FEX-Emu/linux.git
synced 2025-02-07 12:00:38 +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…
x
Reference in New Issue
Block a user