aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/media/video/videobuf-vmalloc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/video/videobuf-vmalloc.c b/drivers/media/video/videobuf-vmalloc.c
index 993d5285e18e..6ef4f523689a 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)
372 MAGIC_CHECK(mem->magic,MAGIC_VMAL_MEM); 372 MAGIC_CHECK(mem->magic,MAGIC_VMAL_MEM);
373 373
374 vfree(mem->vmalloc); 374 vfree(mem->vmalloc);
375 mem->vmalloc=NULL;
375 376
376 return; 377 return;
377} 378}