Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=c520a4970c7e5f18275ef935372e56eabd6d0e44
Commit:     c520a4970c7e5f18275ef935372e56eabd6d0e44
Parent:     28318c72adc14952d05d8037d73cec852247791c
Author:     Mauro Carvalho Chehab <[EMAIL PROTECTED]>
AuthorDate: Thu Sep 6 18:55:07 2007 -0300
Committer:  Mauro Carvalho Chehab <[EMAIL PROTECTED]>
CommitDate: Wed Oct 10 00:02:50 2007 -0300

    V4L/DVB (6261): Cleans mem->vmalloc after vfree
    
    Signed-off-by: Mauro Carvalho Chehab <[EMAIL PROTECTED]>
---
 drivers/media/video/videobuf-vmalloc.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

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 @@ void videobuf_vmalloc_free (struct videobuf_buffer *buf)
        MAGIC_CHECK(mem->magic,MAGIC_VMAL_MEM);
 
        vfree(mem->vmalloc);
+       mem->vmalloc=NULL;
 
        return;
 }
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to