Skip to content

Commit

Permalink
V4L/DVB (6261): Cleans mem->vmalloc after vfree
Browse files Browse the repository at this point in the history
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
  • Loading branch information
Mauro Carvalho Chehab committed Oct 10, 2007
1 parent 28318c7 commit c520a49
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/media/video/videobuf-vmalloc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit c520a49

Please sign in to comment.