Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 65927
b: refs/heads/master
c: 123f8ef
h: refs/heads/master
i:
  65925: e4df04f
  65923: 6b31853
  65919: 03f4bdc
v: v3
  • Loading branch information
Mauro Carvalho Chehab committed Oct 10, 2007
1 parent be70f56 commit b000cc8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e78dcf55520769471c66024b13df7e9e592436f4
refs/heads/master: 123f8ef64e3996e06a930756b6b2cdede4b18da0
4 changes: 3 additions & 1 deletion trunk/drivers/media/video/videobuf-vmalloc.c
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,11 @@ videobuf_vm_close(struct vm_area_struct *vma)

if (mem->map != map)
continue;

q->ops->buf_release(q,q->bufs[i]);

mem->map = NULL;
q->bufs[i]->baddr = 0;
q->ops->buf_release(q,q->bufs[i]);
}
mutex_unlock(&q->lock);
kfree(map);
Expand Down

0 comments on commit b000cc8

Please sign in to comment.