diff options
author | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-09-06 22:55:07 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-09-06 22:55:07 +0100 |
commit | 597743dd42a950a9eabab7883437819ca83cb043 (patch) | |
tree | 991b83f1cce0534ec260cd6f87f6cb8ce20a4d7a | |
parent | e13bdf156cde07095d19c03bb934ae6ea0eb0ff9 (diff) | |
download | mediapointer-dvb-s2-597743dd42a950a9eabab7883437819ca83cb043.tar.gz mediapointer-dvb-s2-597743dd42a950a9eabab7883437819ca83cb043.tar.bz2 |
Cleans mem->vmalloc after vfree
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
-rw-r--r-- | linux/drivers/media/video/videobuf-vmalloc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/linux/drivers/media/video/videobuf-vmalloc.c b/linux/drivers/media/video/videobuf-vmalloc.c index 64b43a768..fa273aaa1 100644 --- a/linux/drivers/media/video/videobuf-vmalloc.c +++ b/linux/drivers/media/video/videobuf-vmalloc.c @@ -373,6 +373,7 @@ void videobuf_vmalloc_free (struct videobuf_buffer *buf) MAGIC_CHECK(mem->magic,MAGIC_VMAL_MEM); vfree(mem->vmalloc); + mem->vmalloc=NULL; return; } |