提交 c520a497 编写于 作者: M Mauro Carvalho Chehab

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

Signed-off-by: NMauro Carvalho Chehab <mchehab@infradead.org>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册