mirror of
https://github.com/torvalds/linux
synced 2024-11-05 18:23:50 +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
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue