Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 137736
b: refs/heads/master
c: 5993a66
h: refs/heads/master
v: v3
  • Loading branch information
Mauro Carvalho Chehab committed Mar 30, 2009
1 parent 9c7be3b commit 964570b
Show file tree
Hide file tree
Showing 2 changed files with 2 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: d4db588ccc738528601947d57fd398bb3f55cd31
refs/heads/master: 5993a663a96df53f14d9e71abc27bcbd442317df
2 changes: 1 addition & 1 deletion trunk/drivers/media/video/videobuf-vmalloc.c
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,7 @@ void videobuf_vmalloc_free (struct videobuf_buffer *buf)
So, it should free memory only if the memory were allocated for
read() operation.
*/
if ((buf->memory != V4L2_MEMORY_USERPTR) || (buf->baddr == 0))
if ((buf->memory != V4L2_MEMORY_USERPTR) || buf->baddr)
return;

if (!mem)
Expand Down

0 comments on commit 964570b

Please sign in to comment.