Commit c520a497 authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab

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

Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@infradead.org>
parent 28318c72
......@@ -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;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment