commit | c520a4970c7e5f18275ef935372e56eabd6d0e44 | [log] [tgz] |
---|---|---|
author | Mauro Carvalho Chehab <mchehab@infradead.org> | Thu Sep 06 18:55:07 2007 -0300 |
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | Wed Oct 10 00:02:50 2007 -0300 |
tree | e176eb422ea79fa047acf6e70b2e3f5c0352deab | |
parent | 28318c72adc14952d05d8037d73cec852247791c [diff] |
V4L/DVB (6261): Cleans mem->vmalloc after vfree Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
diff --git a/drivers/media/video/videobuf-vmalloc.c b/drivers/media/video/videobuf-vmalloc.c index 993d528..6ef4f52 100644 --- a/drivers/media/video/videobuf-vmalloc.c +++ b/drivers/media/video/videobuf-vmalloc.c
@@ -372,6 +372,7 @@ MAGIC_CHECK(mem->magic,MAGIC_VMAL_MEM); vfree(mem->vmalloc); + mem->vmalloc=NULL; return; }